/export/starexec/sandbox2/solver/bin/starexec_run_rcdcRelativeAlsoLower /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- KILLED proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty The Derivational Complexity (innermost) of the given DCpxTrs could be proven to be BOUNDS(1, INF). (0) DCpxTrs (1) DerivationalComplexityToRuntimeComplexityProof [BOTH BOUNDS(ID, ID), 0 ms] (2) CpxRelTRS (3) SInnermostTerminationProof [BOTH CONCRETE BOUNDS(ID, ID), 255 ms] (4) CpxRelTRS (5) RenamingProof [BOTH BOUNDS(ID, ID), 0 ms] (6) CpxRelTRS (7) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (8) typed CpxTrs (9) OrderProof [LOWER BOUND(ID), 0 ms] (10) typed CpxTrs (11) RewriteLemmaProof [LOWER BOUND(ID), 3229 ms] (12) BOUNDS(1, INF) (13) RelTrsToDecreasingLoopProblemProof [LOWER BOUND(ID), 1 ms] (14) TRS for Loop Detection (15) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (16) CpxTRS (17) NonCtorToCtorProof [UPPER BOUND(ID), 0 ms] (18) CpxRelTRS (19) RelTrsToWeightedTrsProof [BOTH BOUNDS(ID, ID), 0 ms] (20) CpxWeightedTrs (21) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (22) CpxTypedWeightedTrs (23) CompletionProof [UPPER BOUND(ID), 8 ms] (24) CpxTypedWeightedCompleteTrs (25) NarrowingProof [BOTH BOUNDS(ID, ID), 514 ms] (26) CpxTypedWeightedCompleteTrs (27) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 16 ms] (28) CpxRNTS (29) SimplificationProof [BOTH BOUNDS(ID, ID), 0 ms] (30) CpxRNTS (31) CompletionProof [UPPER BOUND(ID), 4 ms] (32) CpxTypedWeightedCompleteTrs (33) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 17 ms] (34) CpxRNTS (35) CpxTrsToCdtProof [UPPER BOUND(ID), 0 ms] (36) CdtProblem (37) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (38) CdtProblem (39) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (40) CdtProblem (41) CdtGraphSplitRhsProof [BOTH BOUNDS(ID, ID), 2 ms] (42) CdtProblem (43) CdtLeafRemovalProof [ComplexityIfPolyImplication, 0 ms] (44) CdtProblem (45) CdtUsableRulesProof [BOTH BOUNDS(ID, ID), 14 ms] (46) CdtProblem (47) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (48) CdtProblem (49) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (50) CdtProblem (51) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (52) CdtProblem (53) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (54) CdtProblem (55) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (56) CdtProblem (57) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (58) CdtProblem (59) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 9 ms] (60) CdtProblem (61) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (62) CdtProblem (63) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 13 ms] (64) CdtProblem (65) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (66) CdtProblem (67) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (68) CdtProblem (69) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (70) CdtProblem (71) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 7 ms] (72) CdtProblem (73) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (74) CdtProblem (75) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (76) CdtProblem (77) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (78) CdtProblem (79) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (80) CdtProblem (81) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 6 ms] (82) CdtProblem (83) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (84) CdtProblem (85) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (86) CdtProblem (87) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (88) CdtProblem (89) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 11 ms] (90) CdtProblem (91) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (92) CdtProblem (93) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 3 ms] (94) CdtProblem (95) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (96) CdtProblem (97) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (98) CdtProblem (99) CdtLeafRemovalProof [ComplexityIfPolyImplication, 0 ms] (100) CdtProblem (101) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (102) CdtProblem (103) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (104) CdtProblem (105) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (106) CdtProblem (107) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (108) CdtProblem (109) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (110) CdtProblem (111) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (112) CdtProblem (113) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (114) CdtProblem (115) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (116) CdtProblem (117) CdtGraphSplitRhsProof [BOTH BOUNDS(ID, ID), 0 ms] (118) CdtProblem (119) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 26 ms] (120) CdtProblem (121) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 23 ms] (122) CdtProblem (123) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (124) CdtProblem (125) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 23 ms] (126) CdtProblem (127) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 21 ms] (128) CdtProblem (129) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (130) CdtProblem (131) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (132) CdtProblem (133) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (134) CdtProblem (135) CdtGraphSplitRhsProof [BOTH BOUNDS(ID, ID), 0 ms] (136) CdtProblem (137) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 26 ms] (138) CdtProblem (139) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (140) CdtProblem (141) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (142) CdtProblem (143) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 16 ms] (144) CdtProblem (145) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (146) CdtProblem (147) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 24 ms] (148) CdtProblem (149) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 41 ms] (150) CdtProblem (151) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 97 ms] (152) CdtProblem (153) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (154) CdtProblem (155) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 156 ms] (156) CdtProblem (157) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (158) CdtProblem (159) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 97 ms] (160) CdtProblem (161) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (162) CdtProblem (163) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 178 ms] (164) CdtProblem (165) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (166) CdtProblem (167) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 171 ms] (168) CdtProblem (169) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 22 ms] (170) CdtProblem (171) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 173 ms] (172) CdtProblem (173) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (174) CdtProblem (175) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 258 ms] (176) CdtProblem (177) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 18 ms] (178) CdtProblem (179) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 127 ms] (180) CdtProblem (181) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 9 ms] (182) CdtProblem ---------------------------------------- (0) Obligation: The Derivational Complexity (innermost) of the given DCpxTrs could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0, Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0, cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) S is empty. Rewrite Strategy: INNERMOST ---------------------------------------- (1) DerivationalComplexityToRuntimeComplexityProof (BOTH BOUNDS(ID, ID)) The following rules have been added to S to convert the given derivational complexity problem to a runtime complexity problem: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0 encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) ---------------------------------------- (2) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0, Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0, cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) The (relative) TRS S consists of the following rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0 encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) Rewrite Strategy: INNERMOST ---------------------------------------- (3) SInnermostTerminationProof (BOTH CONCRETE BOUNDS(ID, ID)) proved innermost termination of relative rules ---------------------------------------- (4) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0, Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0, cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) The (relative) TRS S consists of the following rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0 encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) Rewrite Strategy: INNERMOST ---------------------------------------- (5) RenamingProof (BOTH BOUNDS(ID, ID)) Renamed function symbols to avoid clashes with predefined symbol. ---------------------------------------- (6) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0', Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0', cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0') -> active(0') mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) The (relative) TRS S consists of the following rules: encArg(0') -> 0' encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0' encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) Rewrite Strategy: INNERMOST ---------------------------------------- (7) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Infered types. ---------------------------------------- (8) Obligation: Innermost TRS: Rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0', Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0', cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0') -> active(0') mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) encArg(0') -> 0' encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0' encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) Types: active :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel from :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel mark :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel s :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel first :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel 0' :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel nil :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel sel :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encArg :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_active :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_mark :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_from :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_cons :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_s :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_first :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_sel :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_active :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_from :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_mark :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_cons :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_s :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_first :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_0 :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_nil :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_sel :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel hole_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel1_3 :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3 :: Nat -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel ---------------------------------------- (9) OrderProof (LOWER BOUND(ID)) Heuristically decided to analyse the following defined symbols: active, mark, cons, from, s, first, sel, encArg They will be analysed ascendingly in the following order: active = mark cons < active from < active s < active first < active sel < active active < encArg cons < mark from < mark s < mark first < mark sel < mark mark < encArg cons < encArg from < encArg s < encArg first < encArg sel < encArg ---------------------------------------- (10) Obligation: Innermost TRS: Rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0', Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0', cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0') -> active(0') mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) encArg(0') -> 0' encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0' encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) Types: active :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel from :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel mark :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel s :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel first :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel 0' :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel nil :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel sel :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encArg :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_active :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_mark :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_from :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_cons :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_s :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_first :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_sel :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_active :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_from :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_mark :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_cons :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_s :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_first :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_0 :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_nil :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_sel :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel hole_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel1_3 :: 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3 :: Nat -> 0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel Generator Equations: gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(0) <=> 0' gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(+(x, 1)) <=> cons_active(gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(x)) The following defined symbols remain to be analysed: cons, active, mark, from, s, first, sel, encArg They will be analysed ascendingly in the following order: active = mark cons < active from < active s < active first < active sel < active active < encArg cons < mark from < mark s < mark first < mark sel < mark mark < encArg cons < encArg from < encArg s < encArg first < encArg sel < encArg ---------------------------------------- (11) RewriteLemmaProof (LOWER BOUND(ID)) Proved the following rewrite lemma: encArg(gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(+(1, n832_3))) -> *3_3, rt in Omega(0) Induction Base: encArg(gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(+(1, 0))) Induction Step: encArg(gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(+(1, +(n832_3, 1)))) ->_R^Omega(0) active(encArg(gen_0':nil:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel2_3(+(1, n832_3)))) ->_IH active(*3_3) We have rt in Omega(1) and sz in O(n). Thus, we have irc_R in Omega(n^0). ---------------------------------------- (12) BOUNDS(1, INF) ---------------------------------------- (13) RelTrsToDecreasingLoopProblemProof (LOWER BOUND(ID)) Transformed a relative TRS into a decreasing-loop problem. ---------------------------------------- (14) Obligation: Analyzing the following TRS for decreasing loops: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0, Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0, cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) The (relative) TRS S consists of the following rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0 encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) Rewrite Strategy: INNERMOST ---------------------------------------- (15) RelTrsToTrsProof (UPPER BOUND(ID)) transformed relative TRS to TRS ---------------------------------------- (16) Obligation: The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: active(from(X)) -> mark(cons(X, from(s(X)))) active(first(0, Z)) -> mark(nil) active(first(s(X), cons(Y, Z))) -> mark(cons(Y, first(X, Z))) active(sel(0, cons(X, Z))) -> mark(X) active(sel(s(X), cons(Y, Z))) -> mark(sel(X, Z)) mark(from(X)) -> active(from(mark(X))) mark(cons(X1, X2)) -> active(cons(mark(X1), X2)) mark(s(X)) -> active(s(mark(X))) mark(first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) from(mark(X)) -> from(X) from(active(X)) -> from(X) cons(mark(X1), X2) -> cons(X1, X2) cons(X1, mark(X2)) -> cons(X1, X2) cons(active(X1), X2) -> cons(X1, X2) cons(X1, active(X2)) -> cons(X1, X2) s(mark(X)) -> s(X) s(active(X)) -> s(X) first(mark(X1), X2) -> first(X1, X2) first(X1, mark(X2)) -> first(X1, X2) first(active(X1), X2) -> first(X1, X2) first(X1, active(X2)) -> first(X1, X2) sel(mark(X1), X2) -> sel(X1, X2) sel(X1, mark(X2)) -> sel(X1, X2) sel(active(X1), X2) -> sel(X1, X2) sel(X1, active(X2)) -> sel(X1, X2) encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0 encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) S is empty. Rewrite Strategy: INNERMOST ---------------------------------------- (17) NonCtorToCtorProof (UPPER BOUND(ID)) transformed non-ctor to ctor-system ---------------------------------------- (18) Obligation: The Runtime Complexity (innermost) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: mark(0) -> active(0) mark(nil) -> active(nil) active(c_sel(0, c_cons(X, Z))) -> mark(X) from(c_mark(X)) -> from(X) first(c_active(X1), X2) -> first(X1, X2) mark(c_s(X)) -> active(s(mark(X))) mark(c_first(X1, X2)) -> active(first(mark(X1), mark(X2))) mark(c_from(X)) -> active(from(mark(X))) cons(c_mark(X1), X2) -> cons(X1, X2) s(c_active(X)) -> s(X) sel(c_active(X1), X2) -> sel(X1, X2) first(X1, c_mark(X2)) -> first(X1, X2) cons(X1, c_active(X2)) -> cons(X1, X2) active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, first(X, Z))) cons(X1, c_mark(X2)) -> cons(X1, X2) first(X1, c_active(X2)) -> first(X1, X2) from(c_active(X)) -> from(X) s(c_mark(X)) -> s(X) mark(c_sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) first(c_mark(X1), X2) -> first(X1, X2) sel(c_mark(X1), X2) -> sel(X1, X2) cons(c_active(X1), X2) -> cons(X1, X2) mark(c_cons(X1, X2)) -> active(cons(mark(X1), X2)) active(c_from(X)) -> mark(cons(X, from(s(X)))) sel(X1, c_active(X2)) -> sel(X1, X2) sel(X1, c_mark(X2)) -> sel(X1, X2) active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(sel(X, Z)) active(c_first(0, Z)) -> mark(nil) The (relative) TRS S consists of the following rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(x_1)) -> active(encArg(x_1)) encArg(cons_mark(x_1)) -> mark(encArg(x_1)) encArg(cons_from(x_1)) -> from(encArg(x_1)) encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) encArg(cons_s(x_1)) -> s(encArg(x_1)) encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) encode_active(x_1) -> active(encArg(x_1)) encode_from(x_1) -> from(encArg(x_1)) encode_mark(x_1) -> mark(encArg(x_1)) encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) encode_s(x_1) -> s(encArg(x_1)) encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) encode_0 -> 0 encode_nil -> nil encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) s(x0) -> c_s(x0) active(x0) -> c_active(x0) cons(x0, x1) -> c_cons(x0, x1) sel(x0, x1) -> c_sel(x0, x1) first(x0, x1) -> c_first(x0, x1) from(x0) -> c_from(x0) mark(x0) -> c_mark(x0) Rewrite Strategy: INNERMOST ---------------------------------------- (19) RelTrsToWeightedTrsProof (BOTH BOUNDS(ID, ID)) Transformed relative TRS to weighted TRS ---------------------------------------- (20) Obligation: The Runtime Complexity (innermost) of the given CpxWeightedTrs could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: mark(0) -> active(0) [1] mark(nil) -> active(nil) [1] active(c_sel(0, c_cons(X, Z))) -> mark(X) [1] from(c_mark(X)) -> from(X) [1] first(c_active(X1), X2) -> first(X1, X2) [1] mark(c_s(X)) -> active(s(mark(X))) [1] mark(c_first(X1, X2)) -> active(first(mark(X1), mark(X2))) [1] mark(c_from(X)) -> active(from(mark(X))) [1] cons(c_mark(X1), X2) -> cons(X1, X2) [1] s(c_active(X)) -> s(X) [1] sel(c_active(X1), X2) -> sel(X1, X2) [1] first(X1, c_mark(X2)) -> first(X1, X2) [1] cons(X1, c_active(X2)) -> cons(X1, X2) [1] active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, first(X, Z))) [1] cons(X1, c_mark(X2)) -> cons(X1, X2) [1] first(X1, c_active(X2)) -> first(X1, X2) [1] from(c_active(X)) -> from(X) [1] s(c_mark(X)) -> s(X) [1] mark(c_sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) [1] first(c_mark(X1), X2) -> first(X1, X2) [1] sel(c_mark(X1), X2) -> sel(X1, X2) [1] cons(c_active(X1), X2) -> cons(X1, X2) [1] mark(c_cons(X1, X2)) -> active(cons(mark(X1), X2)) [1] active(c_from(X)) -> mark(cons(X, from(s(X)))) [1] sel(X1, c_active(X2)) -> sel(X1, X2) [1] sel(X1, c_mark(X2)) -> sel(X1, X2) [1] active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(sel(X, Z)) [1] active(c_first(0, Z)) -> mark(nil) [1] encArg(0) -> 0 [0] encArg(nil) -> nil [0] encArg(cons_active(x_1)) -> active(encArg(x_1)) [0] encArg(cons_mark(x_1)) -> mark(encArg(x_1)) [0] encArg(cons_from(x_1)) -> from(encArg(x_1)) [0] encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) [0] encArg(cons_s(x_1)) -> s(encArg(x_1)) [0] encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) [0] encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) [0] encode_active(x_1) -> active(encArg(x_1)) [0] encode_from(x_1) -> from(encArg(x_1)) [0] encode_mark(x_1) -> mark(encArg(x_1)) [0] encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) [0] encode_s(x_1) -> s(encArg(x_1)) [0] encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) [0] encode_0 -> 0 [0] encode_nil -> nil [0] encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) [0] s(x0) -> c_s(x0) [0] active(x0) -> c_active(x0) [0] cons(x0, x1) -> c_cons(x0, x1) [0] sel(x0, x1) -> c_sel(x0, x1) [0] first(x0, x1) -> c_first(x0, x1) [0] from(x0) -> c_from(x0) [0] mark(x0) -> c_mark(x0) [0] Rewrite Strategy: INNERMOST ---------------------------------------- (21) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Infered types. ---------------------------------------- (22) Obligation: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: mark(0) -> active(0) [1] mark(nil) -> active(nil) [1] active(c_sel(0, c_cons(X, Z))) -> mark(X) [1] from(c_mark(X)) -> from(X) [1] first(c_active(X1), X2) -> first(X1, X2) [1] mark(c_s(X)) -> active(s(mark(X))) [1] mark(c_first(X1, X2)) -> active(first(mark(X1), mark(X2))) [1] mark(c_from(X)) -> active(from(mark(X))) [1] cons(c_mark(X1), X2) -> cons(X1, X2) [1] s(c_active(X)) -> s(X) [1] sel(c_active(X1), X2) -> sel(X1, X2) [1] first(X1, c_mark(X2)) -> first(X1, X2) [1] cons(X1, c_active(X2)) -> cons(X1, X2) [1] active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, first(X, Z))) [1] cons(X1, c_mark(X2)) -> cons(X1, X2) [1] first(X1, c_active(X2)) -> first(X1, X2) [1] from(c_active(X)) -> from(X) [1] s(c_mark(X)) -> s(X) [1] mark(c_sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) [1] first(c_mark(X1), X2) -> first(X1, X2) [1] sel(c_mark(X1), X2) -> sel(X1, X2) [1] cons(c_active(X1), X2) -> cons(X1, X2) [1] mark(c_cons(X1, X2)) -> active(cons(mark(X1), X2)) [1] active(c_from(X)) -> mark(cons(X, from(s(X)))) [1] sel(X1, c_active(X2)) -> sel(X1, X2) [1] sel(X1, c_mark(X2)) -> sel(X1, X2) [1] active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(sel(X, Z)) [1] active(c_first(0, Z)) -> mark(nil) [1] encArg(0) -> 0 [0] encArg(nil) -> nil [0] encArg(cons_active(x_1)) -> active(encArg(x_1)) [0] encArg(cons_mark(x_1)) -> mark(encArg(x_1)) [0] encArg(cons_from(x_1)) -> from(encArg(x_1)) [0] encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) [0] encArg(cons_s(x_1)) -> s(encArg(x_1)) [0] encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) [0] encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) [0] encode_active(x_1) -> active(encArg(x_1)) [0] encode_from(x_1) -> from(encArg(x_1)) [0] encode_mark(x_1) -> mark(encArg(x_1)) [0] encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) [0] encode_s(x_1) -> s(encArg(x_1)) [0] encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) [0] encode_0 -> 0 [0] encode_nil -> nil [0] encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) [0] s(x0) -> c_s(x0) [0] active(x0) -> c_active(x0) [0] cons(x0, x1) -> c_cons(x0, x1) [0] sel(x0, x1) -> c_sel(x0, x1) [0] first(x0, x1) -> c_first(x0, x1) [0] from(x0) -> c_from(x0) [0] mark(x0) -> c_mark(x0) [0] The TRS has the following type information: mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel 0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel c_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel cons_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel Rewrite Strategy: INNERMOST ---------------------------------------- (23) CompletionProof (UPPER BOUND(ID)) The transformation into a RNTS is sound, since: (a) The obligation is a constructor system where every type has a constant constructor, (b) The following defined symbols do not have to be completely defined, as they can never occur inside other defined symbols: none (c) The following functions are completely defined: encArg_1 encode_active_1 encode_from_1 encode_mark_1 encode_cons_2 encode_s_1 encode_first_2 encode_0 encode_nil encode_sel_2 s_1 active_1 cons_2 sel_2 first_2 from_1 mark_1 Due to the following rules being added: encArg(v0) -> null_encArg [0] encode_active(v0) -> null_encode_active [0] encode_from(v0) -> null_encode_from [0] encode_mark(v0) -> null_encode_mark [0] encode_cons(v0, v1) -> null_encode_cons [0] encode_s(v0) -> null_encode_s [0] encode_first(v0, v1) -> null_encode_first [0] encode_0 -> null_encode_0 [0] encode_nil -> null_encode_nil [0] encode_sel(v0, v1) -> null_encode_sel [0] s(v0) -> null_s [0] active(v0) -> null_active [0] cons(v0, v1) -> null_cons [0] sel(v0, v1) -> null_sel [0] first(v0, v1) -> null_first [0] from(v0) -> null_from [0] mark(v0) -> null_mark [0] And the following fresh constants: null_encArg, null_encode_active, null_encode_from, null_encode_mark, null_encode_cons, null_encode_s, null_encode_first, null_encode_0, null_encode_nil, null_encode_sel, null_s, null_active, null_cons, null_sel, null_first, null_from, null_mark ---------------------------------------- (24) Obligation: Runtime Complexity Weighted TRS where critical functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: mark(0) -> active(0) [1] mark(nil) -> active(nil) [1] active(c_sel(0, c_cons(X, Z))) -> mark(X) [1] from(c_mark(X)) -> from(X) [1] first(c_active(X1), X2) -> first(X1, X2) [1] mark(c_s(X)) -> active(s(mark(X))) [1] mark(c_first(X1, X2)) -> active(first(mark(X1), mark(X2))) [1] mark(c_from(X)) -> active(from(mark(X))) [1] cons(c_mark(X1), X2) -> cons(X1, X2) [1] s(c_active(X)) -> s(X) [1] sel(c_active(X1), X2) -> sel(X1, X2) [1] first(X1, c_mark(X2)) -> first(X1, X2) [1] cons(X1, c_active(X2)) -> cons(X1, X2) [1] active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, first(X, Z))) [1] cons(X1, c_mark(X2)) -> cons(X1, X2) [1] first(X1, c_active(X2)) -> first(X1, X2) [1] from(c_active(X)) -> from(X) [1] s(c_mark(X)) -> s(X) [1] mark(c_sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) [1] first(c_mark(X1), X2) -> first(X1, X2) [1] sel(c_mark(X1), X2) -> sel(X1, X2) [1] cons(c_active(X1), X2) -> cons(X1, X2) [1] mark(c_cons(X1, X2)) -> active(cons(mark(X1), X2)) [1] active(c_from(X)) -> mark(cons(X, from(s(X)))) [1] sel(X1, c_active(X2)) -> sel(X1, X2) [1] sel(X1, c_mark(X2)) -> sel(X1, X2) [1] active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(sel(X, Z)) [1] active(c_first(0, Z)) -> mark(nil) [1] encArg(0) -> 0 [0] encArg(nil) -> nil [0] encArg(cons_active(x_1)) -> active(encArg(x_1)) [0] encArg(cons_mark(x_1)) -> mark(encArg(x_1)) [0] encArg(cons_from(x_1)) -> from(encArg(x_1)) [0] encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) [0] encArg(cons_s(x_1)) -> s(encArg(x_1)) [0] encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) [0] encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) [0] encode_active(x_1) -> active(encArg(x_1)) [0] encode_from(x_1) -> from(encArg(x_1)) [0] encode_mark(x_1) -> mark(encArg(x_1)) [0] encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) [0] encode_s(x_1) -> s(encArg(x_1)) [0] encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) [0] encode_0 -> 0 [0] encode_nil -> nil [0] encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) [0] s(x0) -> c_s(x0) [0] active(x0) -> c_active(x0) [0] cons(x0, x1) -> c_cons(x0, x1) [0] sel(x0, x1) -> c_sel(x0, x1) [0] first(x0, x1) -> c_first(x0, x1) [0] from(x0) -> c_from(x0) [0] mark(x0) -> c_mark(x0) [0] encArg(v0) -> null_encArg [0] encode_active(v0) -> null_encode_active [0] encode_from(v0) -> null_encode_from [0] encode_mark(v0) -> null_encode_mark [0] encode_cons(v0, v1) -> null_encode_cons [0] encode_s(v0) -> null_encode_s [0] encode_first(v0, v1) -> null_encode_first [0] encode_0 -> null_encode_0 [0] encode_nil -> null_encode_nil [0] encode_sel(v0, v1) -> null_encode_sel [0] s(v0) -> null_s [0] active(v0) -> null_active [0] cons(v0, v1) -> null_cons [0] sel(v0, v1) -> null_sel [0] first(v0, v1) -> null_first [0] from(v0) -> null_from [0] mark(v0) -> null_mark [0] The TRS has the following type information: mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark 0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark Rewrite Strategy: INNERMOST ---------------------------------------- (25) NarrowingProof (BOTH BOUNDS(ID, ID)) Narrowed the inner basic terms of all right-hand sides by a single narrowing step. ---------------------------------------- (26) Obligation: Runtime Complexity Weighted TRS where critical functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: mark(0) -> active(0) [1] mark(nil) -> active(nil) [1] active(c_sel(0, c_cons(X, Z))) -> mark(X) [1] from(c_mark(X)) -> from(X) [1] first(c_active(X1), X2) -> first(X1, X2) [1] mark(c_s(0)) -> active(s(active(0))) [2] mark(c_s(nil)) -> active(s(active(nil))) [2] mark(c_s(c_s(X'))) -> active(s(active(s(mark(X'))))) [2] mark(c_s(c_first(X1', X2'))) -> active(s(active(first(mark(X1'), mark(X2'))))) [2] mark(c_s(c_from(X''))) -> active(s(active(from(mark(X''))))) [2] mark(c_s(c_sel(X1'', X2''))) -> active(s(active(sel(mark(X1''), mark(X2''))))) [2] mark(c_s(c_cons(X11, X21))) -> active(s(active(cons(mark(X11), X21)))) [2] mark(c_s(X)) -> active(s(c_mark(X))) [1] mark(c_s(X)) -> active(s(null_mark)) [1] mark(c_first(X1, X2)) -> active(first(mark(X1), mark(X2))) [1] mark(c_from(0)) -> active(from(active(0))) [2] mark(c_from(nil)) -> active(from(active(nil))) [2] mark(c_from(c_s(X41))) -> active(from(active(s(mark(X41))))) [2] mark(c_from(c_first(X132, X232))) -> active(from(active(first(mark(X132), mark(X232))))) [2] mark(c_from(c_from(X42))) -> active(from(active(from(mark(X42))))) [2] mark(c_from(c_sel(X133, X233))) -> active(from(active(sel(mark(X133), mark(X233))))) [2] mark(c_from(c_cons(X134, X234))) -> active(from(active(cons(mark(X134), X234)))) [2] mark(c_from(X)) -> active(from(c_mark(X))) [1] mark(c_from(X)) -> active(from(null_mark)) [1] cons(c_mark(X1), X2) -> cons(X1, X2) [1] s(c_active(X)) -> s(X) [1] sel(c_active(X1), X2) -> sel(X1, X2) [1] first(X1, c_mark(X2)) -> first(X1, X2) [1] cons(X1, c_active(X2)) -> cons(X1, X2) [1] active(c_first(c_s(c_active(X135)), c_cons(Y, Z))) -> mark(cons(Y, first(X135, Z))) [2] active(c_first(c_s(X), c_cons(Y, c_mark(X235)))) -> mark(cons(Y, first(X, X235))) [2] active(c_first(c_s(X), c_cons(Y, c_active(X236)))) -> mark(cons(Y, first(X, X236))) [2] active(c_first(c_s(c_mark(X136)), c_cons(Y, Z))) -> mark(cons(Y, first(X136, Z))) [2] active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, c_first(X, Z))) [1] active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, null_first)) [1] cons(X1, c_mark(X2)) -> cons(X1, X2) [1] first(X1, c_active(X2)) -> first(X1, X2) [1] from(c_active(X)) -> from(X) [1] s(c_mark(X)) -> s(X) [1] mark(c_sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) [1] first(c_mark(X1), X2) -> first(X1, X2) [1] sel(c_mark(X1), X2) -> sel(X1, X2) [1] cons(c_active(X1), X2) -> cons(X1, X2) [1] mark(c_cons(0, X2)) -> active(cons(active(0), X2)) [2] mark(c_cons(nil, X2)) -> active(cons(active(nil), X2)) [2] mark(c_cons(c_s(X63), X2)) -> active(cons(active(s(mark(X63))), X2)) [2] mark(c_cons(c_first(X167, X267), X2)) -> active(cons(active(first(mark(X167), mark(X267))), X2)) [2] mark(c_cons(c_from(X64), X2)) -> active(cons(active(from(mark(X64))), X2)) [2] mark(c_cons(c_sel(X168, X268), X2)) -> active(cons(active(sel(mark(X168), mark(X268))), X2)) [2] mark(c_cons(c_cons(X169, X269), X2)) -> active(cons(active(cons(mark(X169), X269)), X2)) [2] mark(c_cons(X1, X2)) -> active(cons(c_mark(X1), X2)) [1] mark(c_cons(X1, X2)) -> active(cons(null_mark, X2)) [1] active(c_from(c_active(X65))) -> mark(cons(c_active(X65), from(s(X65)))) [2] active(c_from(c_mark(X66))) -> mark(cons(c_mark(X66), from(s(X66)))) [2] active(c_from(X)) -> mark(cons(X, from(c_s(X)))) [1] active(c_from(X)) -> mark(cons(X, from(null_s))) [1] sel(X1, c_active(X2)) -> sel(X1, X2) [1] sel(X1, c_mark(X2)) -> sel(X1, X2) [1] active(c_sel(c_s(c_active(X170)), c_cons(Y, Z))) -> mark(sel(X170, Z)) [2] active(c_sel(c_s(c_mark(X171)), c_cons(Y, Z))) -> mark(sel(X171, Z)) [2] active(c_sel(c_s(X), c_cons(Y, c_active(X270)))) -> mark(sel(X, X270)) [2] active(c_sel(c_s(X), c_cons(Y, c_mark(X271)))) -> mark(sel(X, X271)) [2] active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(c_sel(X, Z)) [1] active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(null_sel) [1] active(c_first(0, Z)) -> mark(nil) [1] encArg(0) -> 0 [0] encArg(nil) -> nil [0] encArg(cons_active(0)) -> active(0) [0] encArg(cons_active(nil)) -> active(nil) [0] encArg(cons_active(cons_active(x_1'))) -> active(active(encArg(x_1'))) [0] encArg(cons_active(cons_mark(x_1''))) -> active(mark(encArg(x_1''))) [0] encArg(cons_active(cons_from(x_11))) -> active(from(encArg(x_11))) [0] encArg(cons_active(cons_cons(x_12, x_2'))) -> active(cons(encArg(x_12), encArg(x_2'))) [0] encArg(cons_active(cons_s(x_13))) -> active(s(encArg(x_13))) [0] encArg(cons_active(cons_first(x_14, x_2''))) -> active(first(encArg(x_14), encArg(x_2''))) [0] encArg(cons_active(cons_sel(x_15, x_21))) -> active(sel(encArg(x_15), encArg(x_21))) [0] encArg(cons_active(x_1)) -> active(null_encArg) [0] encArg(cons_mark(0)) -> mark(0) [0] encArg(cons_mark(nil)) -> mark(nil) [0] encArg(cons_mark(cons_active(x_16))) -> mark(active(encArg(x_16))) [0] encArg(cons_mark(cons_mark(x_17))) -> mark(mark(encArg(x_17))) [0] encArg(cons_mark(cons_from(x_18))) -> mark(from(encArg(x_18))) [0] encArg(cons_mark(cons_cons(x_19, x_22))) -> mark(cons(encArg(x_19), encArg(x_22))) [0] encArg(cons_mark(cons_s(x_110))) -> mark(s(encArg(x_110))) [0] encArg(cons_mark(cons_first(x_111, x_23))) -> mark(first(encArg(x_111), encArg(x_23))) [0] encArg(cons_mark(cons_sel(x_112, x_24))) -> mark(sel(encArg(x_112), encArg(x_24))) [0] encArg(cons_mark(x_1)) -> mark(null_encArg) [0] encArg(cons_from(0)) -> from(0) [0] encArg(cons_from(nil)) -> from(nil) [0] encArg(cons_from(cons_active(x_113))) -> from(active(encArg(x_113))) [0] encArg(cons_from(cons_mark(x_114))) -> from(mark(encArg(x_114))) [0] encArg(cons_from(cons_from(x_115))) -> from(from(encArg(x_115))) [0] encArg(cons_from(cons_cons(x_116, x_25))) -> from(cons(encArg(x_116), encArg(x_25))) [0] encArg(cons_from(cons_s(x_117))) -> from(s(encArg(x_117))) [0] encArg(cons_from(cons_first(x_118, x_26))) -> from(first(encArg(x_118), encArg(x_26))) [0] encArg(cons_from(cons_sel(x_119, x_27))) -> from(sel(encArg(x_119), encArg(x_27))) [0] encArg(cons_from(x_1)) -> from(null_encArg) [0] encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) [0] encArg(cons_s(0)) -> s(0) [0] encArg(cons_s(nil)) -> s(nil) [0] encArg(cons_s(cons_active(x_197))) -> s(active(encArg(x_197))) [0] encArg(cons_s(cons_mark(x_198))) -> s(mark(encArg(x_198))) [0] encArg(cons_s(cons_from(x_199))) -> s(from(encArg(x_199))) [0] encArg(cons_s(cons_cons(x_1100, x_241))) -> s(cons(encArg(x_1100), encArg(x_241))) [0] encArg(cons_s(cons_s(x_1101))) -> s(s(encArg(x_1101))) [0] encArg(cons_s(cons_first(x_1102, x_242))) -> s(first(encArg(x_1102), encArg(x_242))) [0] encArg(cons_s(cons_sel(x_1103, x_243))) -> s(sel(encArg(x_1103), encArg(x_243))) [0] encArg(cons_s(x_1)) -> s(null_encArg) [0] encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) [0] encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) [0] encode_active(0) -> active(0) [0] encode_active(nil) -> active(nil) [0] encode_active(cons_active(x_1258)) -> active(active(encArg(x_1258))) [0] encode_active(cons_mark(x_1259)) -> active(mark(encArg(x_1259))) [0] encode_active(cons_from(x_1260)) -> active(from(encArg(x_1260))) [0] encode_active(cons_cons(x_1261, x_2110)) -> active(cons(encArg(x_1261), encArg(x_2110))) [0] encode_active(cons_s(x_1262)) -> active(s(encArg(x_1262))) [0] encode_active(cons_first(x_1263, x_2111)) -> active(first(encArg(x_1263), encArg(x_2111))) [0] encode_active(cons_sel(x_1264, x_2112)) -> active(sel(encArg(x_1264), encArg(x_2112))) [0] encode_active(x_1) -> active(null_encArg) [0] encode_from(0) -> from(0) [0] encode_from(nil) -> from(nil) [0] encode_from(cons_active(x_1265)) -> from(active(encArg(x_1265))) [0] encode_from(cons_mark(x_1266)) -> from(mark(encArg(x_1266))) [0] encode_from(cons_from(x_1267)) -> from(from(encArg(x_1267))) [0] encode_from(cons_cons(x_1268, x_2113)) -> from(cons(encArg(x_1268), encArg(x_2113))) [0] encode_from(cons_s(x_1269)) -> from(s(encArg(x_1269))) [0] encode_from(cons_first(x_1270, x_2114)) -> from(first(encArg(x_1270), encArg(x_2114))) [0] encode_from(cons_sel(x_1271, x_2115)) -> from(sel(encArg(x_1271), encArg(x_2115))) [0] encode_from(x_1) -> from(null_encArg) [0] encode_mark(0) -> mark(0) [0] encode_mark(nil) -> mark(nil) [0] encode_mark(cons_active(x_1272)) -> mark(active(encArg(x_1272))) [0] encode_mark(cons_mark(x_1273)) -> mark(mark(encArg(x_1273))) [0] encode_mark(cons_from(x_1274)) -> mark(from(encArg(x_1274))) [0] encode_mark(cons_cons(x_1275, x_2116)) -> mark(cons(encArg(x_1275), encArg(x_2116))) [0] encode_mark(cons_s(x_1276)) -> mark(s(encArg(x_1276))) [0] encode_mark(cons_first(x_1277, x_2117)) -> mark(first(encArg(x_1277), encArg(x_2117))) [0] encode_mark(cons_sel(x_1278, x_2118)) -> mark(sel(encArg(x_1278), encArg(x_2118))) [0] encode_mark(x_1) -> mark(null_encArg) [0] encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) [0] encode_s(0) -> s(0) [0] encode_s(nil) -> s(nil) [0] encode_s(cons_active(x_1356)) -> s(active(encArg(x_1356))) [0] encode_s(cons_mark(x_1357)) -> s(mark(encArg(x_1357))) [0] encode_s(cons_from(x_1358)) -> s(from(encArg(x_1358))) [0] encode_s(cons_cons(x_1359, x_2152)) -> s(cons(encArg(x_1359), encArg(x_2152))) [0] encode_s(cons_s(x_1360)) -> s(s(encArg(x_1360))) [0] encode_s(cons_first(x_1361, x_2153)) -> s(first(encArg(x_1361), encArg(x_2153))) [0] encode_s(cons_sel(x_1362, x_2154)) -> s(sel(encArg(x_1362), encArg(x_2154))) [0] encode_s(x_1) -> s(null_encArg) [0] encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) [0] encode_0 -> 0 [0] encode_nil -> nil [0] encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) [0] s(x0) -> c_s(x0) [0] active(x0) -> c_active(x0) [0] cons(x0, x1) -> c_cons(x0, x1) [0] sel(x0, x1) -> c_sel(x0, x1) [0] first(x0, x1) -> c_first(x0, x1) [0] from(x0) -> c_from(x0) [0] mark(x0) -> c_mark(x0) [0] encArg(v0) -> null_encArg [0] encode_active(v0) -> null_encode_active [0] encode_from(v0) -> null_encode_from [0] encode_mark(v0) -> null_encode_mark [0] encode_cons(v0, v1) -> null_encode_cons [0] encode_s(v0) -> null_encode_s [0] encode_first(v0, v1) -> null_encode_first [0] encode_0 -> null_encode_0 [0] encode_nil -> null_encode_nil [0] encode_sel(v0, v1) -> null_encode_sel [0] s(v0) -> null_s [0] active(v0) -> null_active [0] cons(v0, v1) -> null_cons [0] sel(v0, v1) -> null_sel [0] first(v0, v1) -> null_first [0] from(v0) -> null_from [0] mark(v0) -> null_mark [0] The TRS has the following type information: mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark 0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark Rewrite Strategy: INNERMOST ---------------------------------------- (27) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: 0 => 0 nil => 1 null_encArg => 0 null_encode_active => 0 null_encode_from => 0 null_encode_mark => 0 null_encode_cons => 0 null_encode_s => 0 null_encode_first => 0 null_encode_0 => 0 null_encode_nil => 0 null_encode_sel => 0 null_s => 0 null_active => 0 null_cons => 0 null_sel => 0 null_first => 0 null_from => 0 null_mark => 0 ---------------------------------------- (28) Obligation: Complexity RNTS consisting of the following rules: active(z) -{ 1 }-> mark(X) :|: z = 1 + 0 + (1 + X + Z), Z >= 0, X >= 0 active(z) -{ 2 }-> mark(sel(X, X270)) :|: Y >= 0, X >= 0, z = 1 + (1 + X) + (1 + Y + (1 + X270)), X270 >= 0 active(z) -{ 2 }-> mark(sel(X, X271)) :|: z = 1 + (1 + X) + (1 + Y + (1 + X271)), X271 >= 0, Y >= 0, X >= 0 active(z) -{ 2 }-> mark(sel(X170, Z)) :|: Z >= 0, Y >= 0, z = 1 + (1 + (1 + X170)) + (1 + Y + Z), X170 >= 0 active(z) -{ 2 }-> mark(sel(X171, Z)) :|: Z >= 0, z = 1 + (1 + (1 + X171)) + (1 + Y + Z), Y >= 0, X171 >= 0 active(z) -{ 1 }-> mark(cons(X, from(0))) :|: z = 1 + X, X >= 0 active(z) -{ 1 }-> mark(cons(X, from(1 + X))) :|: z = 1 + X, X >= 0 active(z) -{ 2 }-> mark(cons(Y, first(X, X235))) :|: Y >= 0, X >= 0, X235 >= 0, z = 1 + (1 + X) + (1 + Y + (1 + X235)) active(z) -{ 2 }-> mark(cons(Y, first(X, X236))) :|: z = 1 + (1 + X) + (1 + Y + (1 + X236)), Y >= 0, X >= 0, X236 >= 0 active(z) -{ 2 }-> mark(cons(Y, first(X135, Z))) :|: Z >= 0, Y >= 0, X135 >= 0, z = 1 + (1 + (1 + X135)) + (1 + Y + Z) active(z) -{ 2 }-> mark(cons(Y, first(X136, Z))) :|: Z >= 0, Y >= 0, X136 >= 0, z = 1 + (1 + (1 + X136)) + (1 + Y + Z) active(z) -{ 1 }-> mark(cons(Y, 0)) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(cons(Y, 1 + X + Z)) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 2 }-> mark(cons(1 + X65, from(s(X65)))) :|: z = 1 + (1 + X65), X65 >= 0 active(z) -{ 2 }-> mark(cons(1 + X66, from(s(X66)))) :|: z = 1 + (1 + X66), X66 >= 0 active(z) -{ 1 }-> mark(1) :|: z = 1 + 0 + Z, Z >= 0 active(z) -{ 1 }-> mark(0) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(1 + X + Z) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 active(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 cons(z, z') -{ 1 }-> cons(X1, X2) :|: X1 >= 0, z = 1 + X1, X2 >= 0, z' = X2 cons(z, z') -{ 1 }-> cons(X1, X2) :|: X1 >= 0, z' = 1 + X2, X2 >= 0, z = X1 cons(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 cons(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 encArg(z) -{ 0 }-> sel(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> s(sel(encArg(x_1103), encArg(x_243))) :|: x_243 >= 0, z = 1 + (1 + x_1103 + x_243), x_1103 >= 0 encArg(z) -{ 0 }-> s(s(encArg(x_1101))) :|: x_1101 >= 0, z = 1 + (1 + x_1101) encArg(z) -{ 0 }-> s(mark(encArg(x_198))) :|: x_198 >= 0, z = 1 + (1 + x_198) encArg(z) -{ 0 }-> s(from(encArg(x_199))) :|: z = 1 + (1 + x_199), x_199 >= 0 encArg(z) -{ 0 }-> s(first(encArg(x_1102), encArg(x_242))) :|: x_1102 >= 0, z = 1 + (1 + x_1102 + x_242), x_242 >= 0 encArg(z) -{ 0 }-> s(cons(encArg(x_1100), encArg(x_241))) :|: x_1100 >= 0, x_241 >= 0, z = 1 + (1 + x_1100 + x_241) encArg(z) -{ 0 }-> s(active(encArg(x_197))) :|: x_197 >= 0, z = 1 + (1 + x_197) encArg(z) -{ 0 }-> s(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> s(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> s(0) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> mark(sel(encArg(x_112), encArg(x_24))) :|: z = 1 + (1 + x_112 + x_24), x_24 >= 0, x_112 >= 0 encArg(z) -{ 0 }-> mark(s(encArg(x_110))) :|: z = 1 + (1 + x_110), x_110 >= 0 encArg(z) -{ 0 }-> mark(mark(encArg(x_17))) :|: x_17 >= 0, z = 1 + (1 + x_17) encArg(z) -{ 0 }-> mark(from(encArg(x_18))) :|: z = 1 + (1 + x_18), x_18 >= 0 encArg(z) -{ 0 }-> mark(first(encArg(x_111), encArg(x_23))) :|: z = 1 + (1 + x_111 + x_23), x_23 >= 0, x_111 >= 0 encArg(z) -{ 0 }-> mark(cons(encArg(x_19), encArg(x_22))) :|: z = 1 + (1 + x_19 + x_22), x_22 >= 0, x_19 >= 0 encArg(z) -{ 0 }-> mark(active(encArg(x_16))) :|: x_16 >= 0, z = 1 + (1 + x_16) encArg(z) -{ 0 }-> mark(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> mark(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> mark(0) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> from(sel(encArg(x_119), encArg(x_27))) :|: x_27 >= 0, z = 1 + (1 + x_119 + x_27), x_119 >= 0 encArg(z) -{ 0 }-> from(s(encArg(x_117))) :|: z = 1 + (1 + x_117), x_117 >= 0 encArg(z) -{ 0 }-> from(mark(encArg(x_114))) :|: z = 1 + (1 + x_114), x_114 >= 0 encArg(z) -{ 0 }-> from(from(encArg(x_115))) :|: z = 1 + (1 + x_115), x_115 >= 0 encArg(z) -{ 0 }-> from(first(encArg(x_118), encArg(x_26))) :|: z = 1 + (1 + x_118 + x_26), x_26 >= 0, x_118 >= 0 encArg(z) -{ 0 }-> from(cons(encArg(x_116), encArg(x_25))) :|: x_116 >= 0, x_25 >= 0, z = 1 + (1 + x_116 + x_25) encArg(z) -{ 0 }-> from(active(encArg(x_113))) :|: x_113 >= 0, z = 1 + (1 + x_113) encArg(z) -{ 0 }-> from(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> from(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> from(0) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> first(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> cons(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> active(sel(encArg(x_15), encArg(x_21))) :|: x_15 >= 0, z = 1 + (1 + x_15 + x_21), x_21 >= 0 encArg(z) -{ 0 }-> active(s(encArg(x_13))) :|: z = 1 + (1 + x_13), x_13 >= 0 encArg(z) -{ 0 }-> active(mark(encArg(x_1''))) :|: z = 1 + (1 + x_1''), x_1'' >= 0 encArg(z) -{ 0 }-> active(from(encArg(x_11))) :|: x_11 >= 0, z = 1 + (1 + x_11) encArg(z) -{ 0 }-> active(first(encArg(x_14), encArg(x_2''))) :|: x_14 >= 0, z = 1 + (1 + x_14 + x_2''), x_2'' >= 0 encArg(z) -{ 0 }-> active(cons(encArg(x_12), encArg(x_2'))) :|: z = 1 + (1 + x_12 + x_2'), x_2' >= 0, x_12 >= 0 encArg(z) -{ 0 }-> active(active(encArg(x_1'))) :|: z = 1 + (1 + x_1'), x_1' >= 0 encArg(z) -{ 0 }-> active(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> active(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> active(0) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> 1 :|: z = 1 encArg(z) -{ 0 }-> 0 :|: z = 0 encArg(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_0 -{ 0 }-> 0 :|: encode_active(z) -{ 0 }-> active(sel(encArg(x_1264), encArg(x_2112))) :|: x_1264 >= 0, z = 1 + x_1264 + x_2112, x_2112 >= 0 encode_active(z) -{ 0 }-> active(s(encArg(x_1262))) :|: z = 1 + x_1262, x_1262 >= 0 encode_active(z) -{ 0 }-> active(mark(encArg(x_1259))) :|: z = 1 + x_1259, x_1259 >= 0 encode_active(z) -{ 0 }-> active(from(encArg(x_1260))) :|: x_1260 >= 0, z = 1 + x_1260 encode_active(z) -{ 0 }-> active(first(encArg(x_1263), encArg(x_2111))) :|: x_1263 >= 0, x_2111 >= 0, z = 1 + x_1263 + x_2111 encode_active(z) -{ 0 }-> active(cons(encArg(x_1261), encArg(x_2110))) :|: x_2110 >= 0, x_1261 >= 0, z = 1 + x_1261 + x_2110 encode_active(z) -{ 0 }-> active(active(encArg(x_1258))) :|: z = 1 + x_1258, x_1258 >= 0 encode_active(z) -{ 0 }-> active(1) :|: z = 1 encode_active(z) -{ 0 }-> active(0) :|: z = 0 encode_active(z) -{ 0 }-> active(0) :|: x_1 >= 0, z = x_1 encode_active(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_cons(z, z') -{ 0 }-> cons(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_cons(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 encode_first(z, z') -{ 0 }-> first(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_first(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 encode_from(z) -{ 0 }-> from(sel(encArg(x_1271), encArg(x_2115))) :|: z = 1 + x_1271 + x_2115, x_2115 >= 0, x_1271 >= 0 encode_from(z) -{ 0 }-> from(s(encArg(x_1269))) :|: z = 1 + x_1269, x_1269 >= 0 encode_from(z) -{ 0 }-> from(mark(encArg(x_1266))) :|: z = 1 + x_1266, x_1266 >= 0 encode_from(z) -{ 0 }-> from(from(encArg(x_1267))) :|: z = 1 + x_1267, x_1267 >= 0 encode_from(z) -{ 0 }-> from(first(encArg(x_1270), encArg(x_2114))) :|: x_1270 >= 0, x_2114 >= 0, z = 1 + x_1270 + x_2114 encode_from(z) -{ 0 }-> from(cons(encArg(x_1268), encArg(x_2113))) :|: z = 1 + x_1268 + x_2113, x_1268 >= 0, x_2113 >= 0 encode_from(z) -{ 0 }-> from(active(encArg(x_1265))) :|: z = 1 + x_1265, x_1265 >= 0 encode_from(z) -{ 0 }-> from(1) :|: z = 1 encode_from(z) -{ 0 }-> from(0) :|: z = 0 encode_from(z) -{ 0 }-> from(0) :|: x_1 >= 0, z = x_1 encode_from(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_mark(z) -{ 0 }-> mark(sel(encArg(x_1278), encArg(x_2118))) :|: x_2118 >= 0, z = 1 + x_1278 + x_2118, x_1278 >= 0 encode_mark(z) -{ 0 }-> mark(s(encArg(x_1276))) :|: x_1276 >= 0, z = 1 + x_1276 encode_mark(z) -{ 0 }-> mark(mark(encArg(x_1273))) :|: z = 1 + x_1273, x_1273 >= 0 encode_mark(z) -{ 0 }-> mark(from(encArg(x_1274))) :|: x_1274 >= 0, z = 1 + x_1274 encode_mark(z) -{ 0 }-> mark(first(encArg(x_1277), encArg(x_2117))) :|: x_1277 >= 0, z = 1 + x_1277 + x_2117, x_2117 >= 0 encode_mark(z) -{ 0 }-> mark(cons(encArg(x_1275), encArg(x_2116))) :|: x_1275 >= 0, x_2116 >= 0, z = 1 + x_1275 + x_2116 encode_mark(z) -{ 0 }-> mark(active(encArg(x_1272))) :|: z = 1 + x_1272, x_1272 >= 0 encode_mark(z) -{ 0 }-> mark(1) :|: z = 1 encode_mark(z) -{ 0 }-> mark(0) :|: z = 0 encode_mark(z) -{ 0 }-> mark(0) :|: x_1 >= 0, z = x_1 encode_mark(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_nil -{ 0 }-> 1 :|: encode_nil -{ 0 }-> 0 :|: encode_s(z) -{ 0 }-> s(sel(encArg(x_1362), encArg(x_2154))) :|: x_1362 >= 0, x_2154 >= 0, z = 1 + x_1362 + x_2154 encode_s(z) -{ 0 }-> s(s(encArg(x_1360))) :|: z = 1 + x_1360, x_1360 >= 0 encode_s(z) -{ 0 }-> s(mark(encArg(x_1357))) :|: z = 1 + x_1357, x_1357 >= 0 encode_s(z) -{ 0 }-> s(from(encArg(x_1358))) :|: z = 1 + x_1358, x_1358 >= 0 encode_s(z) -{ 0 }-> s(first(encArg(x_1361), encArg(x_2153))) :|: x_2153 >= 0, z = 1 + x_1361 + x_2153, x_1361 >= 0 encode_s(z) -{ 0 }-> s(cons(encArg(x_1359), encArg(x_2152))) :|: x_2152 >= 0, z = 1 + x_1359 + x_2152, x_1359 >= 0 encode_s(z) -{ 0 }-> s(active(encArg(x_1356))) :|: x_1356 >= 0, z = 1 + x_1356 encode_s(z) -{ 0 }-> s(1) :|: z = 1 encode_s(z) -{ 0 }-> s(0) :|: z = 0 encode_s(z) -{ 0 }-> s(0) :|: x_1 >= 0, z = x_1 encode_s(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_sel(z, z') -{ 0 }-> sel(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_sel(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 first(z, z') -{ 1 }-> first(X1, X2) :|: X1 >= 0, z = 1 + X1, X2 >= 0, z' = X2 first(z, z') -{ 1 }-> first(X1, X2) :|: X1 >= 0, z' = 1 + X2, X2 >= 0, z = X1 first(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 first(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 from(z) -{ 1 }-> from(X) :|: z = 1 + X, X >= 0 from(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 from(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 mark(z) -{ 1 }-> active(sel(mark(X1), mark(X2))) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 2 }-> active(s(active(sel(mark(X1''), mark(X2''))))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0 mark(z) -{ 2 }-> active(s(active(s(mark(X'))))) :|: X' >= 0, z = 1 + (1 + X') mark(z) -{ 2 }-> active(s(active(from(mark(X''))))) :|: z = 1 + (1 + X''), X'' >= 0 mark(z) -{ 2 }-> active(s(active(first(mark(X1'), mark(X2'))))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0 mark(z) -{ 2 }-> active(s(active(cons(mark(X11), X21)))) :|: z = 1 + (1 + X11 + X21), X11 >= 0, X21 >= 0 mark(z) -{ 2 }-> active(s(active(1))) :|: z = 1 + 1 mark(z) -{ 2 }-> active(s(active(0))) :|: z = 1 + 0 mark(z) -{ 1 }-> active(s(0)) :|: z = 1 + X, X >= 0 mark(z) -{ 1 }-> active(s(1 + X)) :|: z = 1 + X, X >= 0 mark(z) -{ 2 }-> active(from(active(sel(mark(X133), mark(X233))))) :|: X233 >= 0, z = 1 + (1 + X133 + X233), X133 >= 0 mark(z) -{ 2 }-> active(from(active(s(mark(X41))))) :|: X41 >= 0, z = 1 + (1 + X41) mark(z) -{ 2 }-> active(from(active(from(mark(X42))))) :|: X42 >= 0, z = 1 + (1 + X42) mark(z) -{ 2 }-> active(from(active(first(mark(X132), mark(X232))))) :|: z = 1 + (1 + X132 + X232), X232 >= 0, X132 >= 0 mark(z) -{ 2 }-> active(from(active(cons(mark(X134), X234)))) :|: z = 1 + (1 + X134 + X234), X134 >= 0, X234 >= 0 mark(z) -{ 2 }-> active(from(active(1))) :|: z = 1 + 1 mark(z) -{ 2 }-> active(from(active(0))) :|: z = 1 + 0 mark(z) -{ 1 }-> active(from(0)) :|: z = 1 + X, X >= 0 mark(z) -{ 1 }-> active(from(1 + X)) :|: z = 1 + X, X >= 0 mark(z) -{ 1 }-> active(first(mark(X1), mark(X2))) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 2 }-> active(cons(active(sel(mark(X168), mark(X268))), X2)) :|: z = 1 + (1 + X168 + X268) + X2, X168 >= 0, X268 >= 0, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(s(mark(X63))), X2)) :|: z = 1 + (1 + X63) + X2, X2 >= 0, X63 >= 0 mark(z) -{ 2 }-> active(cons(active(from(mark(X64))), X2)) :|: z = 1 + (1 + X64) + X2, X2 >= 0, X64 >= 0 mark(z) -{ 2 }-> active(cons(active(first(mark(X167), mark(X267))), X2)) :|: z = 1 + (1 + X167 + X267) + X2, X267 >= 0, X167 >= 0, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(cons(mark(X169), X269)), X2)) :|: X269 >= 0, z = 1 + (1 + X169 + X269) + X2, X169 >= 0, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(1), X2)) :|: z = 1 + 1 + X2, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(0), X2)) :|: z = 1 + 0 + X2, X2 >= 0 mark(z) -{ 1 }-> active(cons(0, X2)) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(cons(1 + X1, X2)) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(1) :|: z = 1 mark(z) -{ 1 }-> active(0) :|: z = 0 mark(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 mark(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 s(z) -{ 1 }-> s(X) :|: z = 1 + X, X >= 0 s(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 s(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 sel(z, z') -{ 1 }-> sel(X1, X2) :|: X1 >= 0, z = 1 + X1, X2 >= 0, z' = X2 sel(z, z') -{ 1 }-> sel(X1, X2) :|: X1 >= 0, z' = 1 + X2, X2 >= 0, z = X1 sel(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 sel(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 ---------------------------------------- (29) SimplificationProof (BOTH BOUNDS(ID, ID)) Simplified the RNTS by moving equalities from the constraints into the right-hand sides. ---------------------------------------- (30) Obligation: Complexity RNTS consisting of the following rules: active(z) -{ 1 }-> mark(X) :|: z = 1 + 0 + (1 + X + Z), Z >= 0, X >= 0 active(z) -{ 2 }-> mark(sel(X, X270)) :|: Y >= 0, X >= 0, z = 1 + (1 + X) + (1 + Y + (1 + X270)), X270 >= 0 active(z) -{ 2 }-> mark(sel(X, X271)) :|: z = 1 + (1 + X) + (1 + Y + (1 + X271)), X271 >= 0, Y >= 0, X >= 0 active(z) -{ 2 }-> mark(sel(X170, Z)) :|: Z >= 0, Y >= 0, z = 1 + (1 + (1 + X170)) + (1 + Y + Z), X170 >= 0 active(z) -{ 2 }-> mark(sel(X171, Z)) :|: Z >= 0, z = 1 + (1 + (1 + X171)) + (1 + Y + Z), Y >= 0, X171 >= 0 active(z) -{ 2 }-> mark(cons(Y, first(X, X235))) :|: Y >= 0, X >= 0, X235 >= 0, z = 1 + (1 + X) + (1 + Y + (1 + X235)) active(z) -{ 2 }-> mark(cons(Y, first(X, X236))) :|: z = 1 + (1 + X) + (1 + Y + (1 + X236)), Y >= 0, X >= 0, X236 >= 0 active(z) -{ 2 }-> mark(cons(Y, first(X135, Z))) :|: Z >= 0, Y >= 0, X135 >= 0, z = 1 + (1 + (1 + X135)) + (1 + Y + Z) active(z) -{ 2 }-> mark(cons(Y, first(X136, Z))) :|: Z >= 0, Y >= 0, X136 >= 0, z = 1 + (1 + (1 + X136)) + (1 + Y + Z) active(z) -{ 1 }-> mark(cons(Y, 0)) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(cons(Y, 1 + X + Z)) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(cons(z - 1, from(0))) :|: z - 1 >= 0 active(z) -{ 1 }-> mark(cons(z - 1, from(1 + (z - 1)))) :|: z - 1 >= 0 active(z) -{ 2 }-> mark(cons(1 + (z - 2), from(s(z - 2)))) :|: z - 2 >= 0 active(z) -{ 1 }-> mark(1) :|: z - 1 >= 0 active(z) -{ 1 }-> mark(0) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(1 + X + Z) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 0 }-> 0 :|: z >= 0 active(z) -{ 0 }-> 1 + z :|: z >= 0 cons(z, z') -{ 1 }-> cons(z, z' - 1) :|: z >= 0, z' - 1 >= 0 cons(z, z') -{ 1 }-> cons(z - 1, z') :|: z - 1 >= 0, z' >= 0 cons(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 cons(z, z') -{ 0 }-> 1 + z + z' :|: z >= 0, z' >= 0 encArg(z) -{ 0 }-> sel(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> s(sel(encArg(x_1103), encArg(x_243))) :|: x_243 >= 0, z = 1 + (1 + x_1103 + x_243), x_1103 >= 0 encArg(z) -{ 0 }-> s(s(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> s(mark(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> s(from(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> s(first(encArg(x_1102), encArg(x_242))) :|: x_1102 >= 0, z = 1 + (1 + x_1102 + x_242), x_242 >= 0 encArg(z) -{ 0 }-> s(cons(encArg(x_1100), encArg(x_241))) :|: x_1100 >= 0, x_241 >= 0, z = 1 + (1 + x_1100 + x_241) encArg(z) -{ 0 }-> s(active(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> s(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> s(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> s(0) :|: z - 1 >= 0 encArg(z) -{ 0 }-> mark(sel(encArg(x_112), encArg(x_24))) :|: z = 1 + (1 + x_112 + x_24), x_24 >= 0, x_112 >= 0 encArg(z) -{ 0 }-> mark(s(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> mark(mark(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> mark(from(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> mark(first(encArg(x_111), encArg(x_23))) :|: z = 1 + (1 + x_111 + x_23), x_23 >= 0, x_111 >= 0 encArg(z) -{ 0 }-> mark(cons(encArg(x_19), encArg(x_22))) :|: z = 1 + (1 + x_19 + x_22), x_22 >= 0, x_19 >= 0 encArg(z) -{ 0 }-> mark(active(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> mark(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> mark(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> mark(0) :|: z - 1 >= 0 encArg(z) -{ 0 }-> from(sel(encArg(x_119), encArg(x_27))) :|: x_27 >= 0, z = 1 + (1 + x_119 + x_27), x_119 >= 0 encArg(z) -{ 0 }-> from(s(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> from(mark(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> from(from(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> from(first(encArg(x_118), encArg(x_26))) :|: z = 1 + (1 + x_118 + x_26), x_26 >= 0, x_118 >= 0 encArg(z) -{ 0 }-> from(cons(encArg(x_116), encArg(x_25))) :|: x_116 >= 0, x_25 >= 0, z = 1 + (1 + x_116 + x_25) encArg(z) -{ 0 }-> from(active(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> from(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> from(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> from(0) :|: z - 1 >= 0 encArg(z) -{ 0 }-> first(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> cons(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> active(sel(encArg(x_15), encArg(x_21))) :|: x_15 >= 0, z = 1 + (1 + x_15 + x_21), x_21 >= 0 encArg(z) -{ 0 }-> active(s(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> active(mark(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> active(from(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> active(first(encArg(x_14), encArg(x_2''))) :|: x_14 >= 0, z = 1 + (1 + x_14 + x_2''), x_2'' >= 0 encArg(z) -{ 0 }-> active(cons(encArg(x_12), encArg(x_2'))) :|: z = 1 + (1 + x_12 + x_2'), x_2' >= 0, x_12 >= 0 encArg(z) -{ 0 }-> active(active(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> active(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> active(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> active(0) :|: z - 1 >= 0 encArg(z) -{ 0 }-> 1 :|: z = 1 encArg(z) -{ 0 }-> 0 :|: z = 0 encArg(z) -{ 0 }-> 0 :|: z >= 0 encode_0 -{ 0 }-> 0 :|: encode_active(z) -{ 0 }-> active(sel(encArg(x_1264), encArg(x_2112))) :|: x_1264 >= 0, z = 1 + x_1264 + x_2112, x_2112 >= 0 encode_active(z) -{ 0 }-> active(s(encArg(z - 1))) :|: z - 1 >= 0 encode_active(z) -{ 0 }-> active(mark(encArg(z - 1))) :|: z - 1 >= 0 encode_active(z) -{ 0 }-> active(from(encArg(z - 1))) :|: z - 1 >= 0 encode_active(z) -{ 0 }-> active(first(encArg(x_1263), encArg(x_2111))) :|: x_1263 >= 0, x_2111 >= 0, z = 1 + x_1263 + x_2111 encode_active(z) -{ 0 }-> active(cons(encArg(x_1261), encArg(x_2110))) :|: x_2110 >= 0, x_1261 >= 0, z = 1 + x_1261 + x_2110 encode_active(z) -{ 0 }-> active(active(encArg(z - 1))) :|: z - 1 >= 0 encode_active(z) -{ 0 }-> active(1) :|: z = 1 encode_active(z) -{ 0 }-> active(0) :|: z = 0 encode_active(z) -{ 0 }-> active(0) :|: z >= 0 encode_active(z) -{ 0 }-> 0 :|: z >= 0 encode_cons(z, z') -{ 0 }-> cons(encArg(z), encArg(z')) :|: z >= 0, z' >= 0 encode_cons(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 encode_first(z, z') -{ 0 }-> first(encArg(z), encArg(z')) :|: z >= 0, z' >= 0 encode_first(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 encode_from(z) -{ 0 }-> from(sel(encArg(x_1271), encArg(x_2115))) :|: z = 1 + x_1271 + x_2115, x_2115 >= 0, x_1271 >= 0 encode_from(z) -{ 0 }-> from(s(encArg(z - 1))) :|: z - 1 >= 0 encode_from(z) -{ 0 }-> from(mark(encArg(z - 1))) :|: z - 1 >= 0 encode_from(z) -{ 0 }-> from(from(encArg(z - 1))) :|: z - 1 >= 0 encode_from(z) -{ 0 }-> from(first(encArg(x_1270), encArg(x_2114))) :|: x_1270 >= 0, x_2114 >= 0, z = 1 + x_1270 + x_2114 encode_from(z) -{ 0 }-> from(cons(encArg(x_1268), encArg(x_2113))) :|: z = 1 + x_1268 + x_2113, x_1268 >= 0, x_2113 >= 0 encode_from(z) -{ 0 }-> from(active(encArg(z - 1))) :|: z - 1 >= 0 encode_from(z) -{ 0 }-> from(1) :|: z = 1 encode_from(z) -{ 0 }-> from(0) :|: z = 0 encode_from(z) -{ 0 }-> from(0) :|: z >= 0 encode_from(z) -{ 0 }-> 0 :|: z >= 0 encode_mark(z) -{ 0 }-> mark(sel(encArg(x_1278), encArg(x_2118))) :|: x_2118 >= 0, z = 1 + x_1278 + x_2118, x_1278 >= 0 encode_mark(z) -{ 0 }-> mark(s(encArg(z - 1))) :|: z - 1 >= 0 encode_mark(z) -{ 0 }-> mark(mark(encArg(z - 1))) :|: z - 1 >= 0 encode_mark(z) -{ 0 }-> mark(from(encArg(z - 1))) :|: z - 1 >= 0 encode_mark(z) -{ 0 }-> mark(first(encArg(x_1277), encArg(x_2117))) :|: x_1277 >= 0, z = 1 + x_1277 + x_2117, x_2117 >= 0 encode_mark(z) -{ 0 }-> mark(cons(encArg(x_1275), encArg(x_2116))) :|: x_1275 >= 0, x_2116 >= 0, z = 1 + x_1275 + x_2116 encode_mark(z) -{ 0 }-> mark(active(encArg(z - 1))) :|: z - 1 >= 0 encode_mark(z) -{ 0 }-> mark(1) :|: z = 1 encode_mark(z) -{ 0 }-> mark(0) :|: z = 0 encode_mark(z) -{ 0 }-> mark(0) :|: z >= 0 encode_mark(z) -{ 0 }-> 0 :|: z >= 0 encode_nil -{ 0 }-> 1 :|: encode_nil -{ 0 }-> 0 :|: encode_s(z) -{ 0 }-> s(sel(encArg(x_1362), encArg(x_2154))) :|: x_1362 >= 0, x_2154 >= 0, z = 1 + x_1362 + x_2154 encode_s(z) -{ 0 }-> s(s(encArg(z - 1))) :|: z - 1 >= 0 encode_s(z) -{ 0 }-> s(mark(encArg(z - 1))) :|: z - 1 >= 0 encode_s(z) -{ 0 }-> s(from(encArg(z - 1))) :|: z - 1 >= 0 encode_s(z) -{ 0 }-> s(first(encArg(x_1361), encArg(x_2153))) :|: x_2153 >= 0, z = 1 + x_1361 + x_2153, x_1361 >= 0 encode_s(z) -{ 0 }-> s(cons(encArg(x_1359), encArg(x_2152))) :|: x_2152 >= 0, z = 1 + x_1359 + x_2152, x_1359 >= 0 encode_s(z) -{ 0 }-> s(active(encArg(z - 1))) :|: z - 1 >= 0 encode_s(z) -{ 0 }-> s(1) :|: z = 1 encode_s(z) -{ 0 }-> s(0) :|: z = 0 encode_s(z) -{ 0 }-> s(0) :|: z >= 0 encode_s(z) -{ 0 }-> 0 :|: z >= 0 encode_sel(z, z') -{ 0 }-> sel(encArg(z), encArg(z')) :|: z >= 0, z' >= 0 encode_sel(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 first(z, z') -{ 1 }-> first(z, z' - 1) :|: z >= 0, z' - 1 >= 0 first(z, z') -{ 1 }-> first(z - 1, z') :|: z - 1 >= 0, z' >= 0 first(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 first(z, z') -{ 0 }-> 1 + z + z' :|: z >= 0, z' >= 0 from(z) -{ 1 }-> from(z - 1) :|: z - 1 >= 0 from(z) -{ 0 }-> 0 :|: z >= 0 from(z) -{ 0 }-> 1 + z :|: z >= 0 mark(z) -{ 1 }-> active(sel(mark(X1), mark(X2))) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 2 }-> active(s(active(sel(mark(X1''), mark(X2''))))) :|: X1'' >= 0, z = 1 + (1 + X1'' + X2''), X2'' >= 0 mark(z) -{ 2 }-> active(s(active(s(mark(z - 2))))) :|: z - 2 >= 0 mark(z) -{ 2 }-> active(s(active(from(mark(z - 2))))) :|: z - 2 >= 0 mark(z) -{ 2 }-> active(s(active(first(mark(X1'), mark(X2'))))) :|: z = 1 + (1 + X1' + X2'), X2' >= 0, X1' >= 0 mark(z) -{ 2 }-> active(s(active(cons(mark(X11), X21)))) :|: z = 1 + (1 + X11 + X21), X11 >= 0, X21 >= 0 mark(z) -{ 2 }-> active(s(active(1))) :|: z = 1 + 1 mark(z) -{ 2 }-> active(s(active(0))) :|: z = 1 + 0 mark(z) -{ 1 }-> active(s(0)) :|: z - 1 >= 0 mark(z) -{ 1 }-> active(s(1 + (z - 1))) :|: z - 1 >= 0 mark(z) -{ 2 }-> active(from(active(sel(mark(X133), mark(X233))))) :|: X233 >= 0, z = 1 + (1 + X133 + X233), X133 >= 0 mark(z) -{ 2 }-> active(from(active(s(mark(z - 2))))) :|: z - 2 >= 0 mark(z) -{ 2 }-> active(from(active(from(mark(z - 2))))) :|: z - 2 >= 0 mark(z) -{ 2 }-> active(from(active(first(mark(X132), mark(X232))))) :|: z = 1 + (1 + X132 + X232), X232 >= 0, X132 >= 0 mark(z) -{ 2 }-> active(from(active(cons(mark(X134), X234)))) :|: z = 1 + (1 + X134 + X234), X134 >= 0, X234 >= 0 mark(z) -{ 2 }-> active(from(active(1))) :|: z = 1 + 1 mark(z) -{ 2 }-> active(from(active(0))) :|: z = 1 + 0 mark(z) -{ 1 }-> active(from(0)) :|: z - 1 >= 0 mark(z) -{ 1 }-> active(from(1 + (z - 1))) :|: z - 1 >= 0 mark(z) -{ 1 }-> active(first(mark(X1), mark(X2))) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 2 }-> active(cons(active(sel(mark(X168), mark(X268))), X2)) :|: z = 1 + (1 + X168 + X268) + X2, X168 >= 0, X268 >= 0, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(s(mark(X63))), X2)) :|: z = 1 + (1 + X63) + X2, X2 >= 0, X63 >= 0 mark(z) -{ 2 }-> active(cons(active(from(mark(X64))), X2)) :|: z = 1 + (1 + X64) + X2, X2 >= 0, X64 >= 0 mark(z) -{ 2 }-> active(cons(active(first(mark(X167), mark(X267))), X2)) :|: z = 1 + (1 + X167 + X267) + X2, X267 >= 0, X167 >= 0, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(cons(mark(X169), X269)), X2)) :|: X269 >= 0, z = 1 + (1 + X169 + X269) + X2, X169 >= 0, X2 >= 0 mark(z) -{ 2 }-> active(cons(active(1), z - 2)) :|: z - 2 >= 0 mark(z) -{ 2 }-> active(cons(active(0), z - 1)) :|: z - 1 >= 0 mark(z) -{ 1 }-> active(cons(0, X2)) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(cons(1 + X1, X2)) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(1) :|: z = 1 mark(z) -{ 1 }-> active(0) :|: z = 0 mark(z) -{ 0 }-> 0 :|: z >= 0 mark(z) -{ 0 }-> 1 + z :|: z >= 0 s(z) -{ 1 }-> s(z - 1) :|: z - 1 >= 0 s(z) -{ 0 }-> 0 :|: z >= 0 s(z) -{ 0 }-> 1 + z :|: z >= 0 sel(z, z') -{ 1 }-> sel(z, z' - 1) :|: z >= 0, z' - 1 >= 0 sel(z, z') -{ 1 }-> sel(z - 1, z') :|: z - 1 >= 0, z' >= 0 sel(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 sel(z, z') -{ 0 }-> 1 + z + z' :|: z >= 0, z' >= 0 ---------------------------------------- (31) CompletionProof (UPPER BOUND(ID)) The TRS is a completely defined constructor system, as every type has a constant constructor and the following rules were added: encArg(v0) -> null_encArg [0] encode_active(v0) -> null_encode_active [0] encode_from(v0) -> null_encode_from [0] encode_mark(v0) -> null_encode_mark [0] encode_cons(v0, v1) -> null_encode_cons [0] encode_s(v0) -> null_encode_s [0] encode_first(v0, v1) -> null_encode_first [0] encode_0 -> null_encode_0 [0] encode_nil -> null_encode_nil [0] encode_sel(v0, v1) -> null_encode_sel [0] s(v0) -> null_s [0] active(v0) -> null_active [0] cons(v0, v1) -> null_cons [0] sel(v0, v1) -> null_sel [0] first(v0, v1) -> null_first [0] from(v0) -> null_from [0] mark(v0) -> null_mark [0] And the following fresh constants: null_encArg, null_encode_active, null_encode_from, null_encode_mark, null_encode_cons, null_encode_s, null_encode_first, null_encode_0, null_encode_nil, null_encode_sel, null_s, null_active, null_cons, null_sel, null_first, null_from, null_mark ---------------------------------------- (32) Obligation: Runtime Complexity Weighted TRS where all functions are completely defined. The underlying TRS is: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: mark(0) -> active(0) [1] mark(nil) -> active(nil) [1] active(c_sel(0, c_cons(X, Z))) -> mark(X) [1] from(c_mark(X)) -> from(X) [1] first(c_active(X1), X2) -> first(X1, X2) [1] mark(c_s(X)) -> active(s(mark(X))) [1] mark(c_first(X1, X2)) -> active(first(mark(X1), mark(X2))) [1] mark(c_from(X)) -> active(from(mark(X))) [1] cons(c_mark(X1), X2) -> cons(X1, X2) [1] s(c_active(X)) -> s(X) [1] sel(c_active(X1), X2) -> sel(X1, X2) [1] first(X1, c_mark(X2)) -> first(X1, X2) [1] cons(X1, c_active(X2)) -> cons(X1, X2) [1] active(c_first(c_s(X), c_cons(Y, Z))) -> mark(cons(Y, first(X, Z))) [1] cons(X1, c_mark(X2)) -> cons(X1, X2) [1] first(X1, c_active(X2)) -> first(X1, X2) [1] from(c_active(X)) -> from(X) [1] s(c_mark(X)) -> s(X) [1] mark(c_sel(X1, X2)) -> active(sel(mark(X1), mark(X2))) [1] first(c_mark(X1), X2) -> first(X1, X2) [1] sel(c_mark(X1), X2) -> sel(X1, X2) [1] cons(c_active(X1), X2) -> cons(X1, X2) [1] mark(c_cons(X1, X2)) -> active(cons(mark(X1), X2)) [1] active(c_from(X)) -> mark(cons(X, from(s(X)))) [1] sel(X1, c_active(X2)) -> sel(X1, X2) [1] sel(X1, c_mark(X2)) -> sel(X1, X2) [1] active(c_sel(c_s(X), c_cons(Y, Z))) -> mark(sel(X, Z)) [1] active(c_first(0, Z)) -> mark(nil) [1] encArg(0) -> 0 [0] encArg(nil) -> nil [0] encArg(cons_active(x_1)) -> active(encArg(x_1)) [0] encArg(cons_mark(x_1)) -> mark(encArg(x_1)) [0] encArg(cons_from(x_1)) -> from(encArg(x_1)) [0] encArg(cons_cons(x_1, x_2)) -> cons(encArg(x_1), encArg(x_2)) [0] encArg(cons_s(x_1)) -> s(encArg(x_1)) [0] encArg(cons_first(x_1, x_2)) -> first(encArg(x_1), encArg(x_2)) [0] encArg(cons_sel(x_1, x_2)) -> sel(encArg(x_1), encArg(x_2)) [0] encode_active(x_1) -> active(encArg(x_1)) [0] encode_from(x_1) -> from(encArg(x_1)) [0] encode_mark(x_1) -> mark(encArg(x_1)) [0] encode_cons(x_1, x_2) -> cons(encArg(x_1), encArg(x_2)) [0] encode_s(x_1) -> s(encArg(x_1)) [0] encode_first(x_1, x_2) -> first(encArg(x_1), encArg(x_2)) [0] encode_0 -> 0 [0] encode_nil -> nil [0] encode_sel(x_1, x_2) -> sel(encArg(x_1), encArg(x_2)) [0] s(x0) -> c_s(x0) [0] active(x0) -> c_active(x0) [0] cons(x0, x1) -> c_cons(x0, x1) [0] sel(x0, x1) -> c_sel(x0, x1) [0] first(x0, x1) -> c_first(x0, x1) [0] from(x0) -> c_from(x0) [0] mark(x0) -> c_mark(x0) [0] encArg(v0) -> null_encArg [0] encode_active(v0) -> null_encode_active [0] encode_from(v0) -> null_encode_from [0] encode_mark(v0) -> null_encode_mark [0] encode_cons(v0, v1) -> null_encode_cons [0] encode_s(v0) -> null_encode_s [0] encode_first(v0, v1) -> null_encode_first [0] encode_0 -> null_encode_0 [0] encode_nil -> null_encode_nil [0] encode_sel(v0, v1) -> null_encode_sel [0] s(v0) -> null_s [0] active(v0) -> null_active [0] cons(v0, v1) -> null_cons [0] sel(v0, v1) -> null_sel [0] first(v0, v1) -> null_first [0] from(v0) -> null_from [0] mark(v0) -> null_mark [0] The TRS has the following type information: mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark 0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark c_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark cons_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark -> 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encArg :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_0 :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_nil :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_encode_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_s :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_active :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_cons :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_sel :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_first :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_from :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark null_mark :: 0:nil:c_cons:c_sel:c_mark:c_active:c_s:c_first:c_from:cons_active:cons_mark:cons_from:cons_cons:cons_s:cons_first:cons_sel:null_encArg:null_encode_active:null_encode_from:null_encode_mark:null_encode_cons:null_encode_s:null_encode_first:null_encode_0:null_encode_nil:null_encode_sel:null_s:null_active:null_cons:null_sel:null_first:null_from:null_mark Rewrite Strategy: INNERMOST ---------------------------------------- (33) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: 0 => 0 nil => 1 null_encArg => 0 null_encode_active => 0 null_encode_from => 0 null_encode_mark => 0 null_encode_cons => 0 null_encode_s => 0 null_encode_first => 0 null_encode_0 => 0 null_encode_nil => 0 null_encode_sel => 0 null_s => 0 null_active => 0 null_cons => 0 null_sel => 0 null_first => 0 null_from => 0 null_mark => 0 ---------------------------------------- (34) Obligation: Complexity RNTS consisting of the following rules: active(z) -{ 1 }-> mark(X) :|: z = 1 + 0 + (1 + X + Z), Z >= 0, X >= 0 active(z) -{ 1 }-> mark(sel(X, Z)) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(cons(X, from(s(X)))) :|: z = 1 + X, X >= 0 active(z) -{ 1 }-> mark(cons(Y, first(X, Z))) :|: Z >= 0, z = 1 + (1 + X) + (1 + Y + Z), Y >= 0, X >= 0 active(z) -{ 1 }-> mark(1) :|: z = 1 + 0 + Z, Z >= 0 active(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 active(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 cons(z, z') -{ 1 }-> cons(X1, X2) :|: X1 >= 0, z = 1 + X1, X2 >= 0, z' = X2 cons(z, z') -{ 1 }-> cons(X1, X2) :|: X1 >= 0, z' = 1 + X2, X2 >= 0, z = X1 cons(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 cons(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 encArg(z) -{ 0 }-> sel(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> s(encArg(x_1)) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> mark(encArg(x_1)) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> from(encArg(x_1)) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> first(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> cons(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> active(encArg(x_1)) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> 1 :|: z = 1 encArg(z) -{ 0 }-> 0 :|: z = 0 encArg(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_0 -{ 0 }-> 0 :|: encode_active(z) -{ 0 }-> active(encArg(x_1)) :|: x_1 >= 0, z = x_1 encode_active(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_cons(z, z') -{ 0 }-> cons(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_cons(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 encode_first(z, z') -{ 0 }-> first(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_first(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 encode_from(z) -{ 0 }-> from(encArg(x_1)) :|: x_1 >= 0, z = x_1 encode_from(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_mark(z) -{ 0 }-> mark(encArg(x_1)) :|: x_1 >= 0, z = x_1 encode_mark(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_nil -{ 0 }-> 1 :|: encode_nil -{ 0 }-> 0 :|: encode_s(z) -{ 0 }-> s(encArg(x_1)) :|: x_1 >= 0, z = x_1 encode_s(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_sel(z, z') -{ 0 }-> sel(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_sel(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 first(z, z') -{ 1 }-> first(X1, X2) :|: X1 >= 0, z = 1 + X1, X2 >= 0, z' = X2 first(z, z') -{ 1 }-> first(X1, X2) :|: X1 >= 0, z' = 1 + X2, X2 >= 0, z = X1 first(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 first(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 from(z) -{ 1 }-> from(X) :|: z = 1 + X, X >= 0 from(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 from(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 mark(z) -{ 1 }-> active(sel(mark(X1), mark(X2))) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(s(mark(X))) :|: z = 1 + X, X >= 0 mark(z) -{ 1 }-> active(from(mark(X))) :|: z = 1 + X, X >= 0 mark(z) -{ 1 }-> active(first(mark(X1), mark(X2))) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(cons(mark(X1), X2)) :|: X1 >= 0, X2 >= 0, z = 1 + X1 + X2 mark(z) -{ 1 }-> active(1) :|: z = 1 mark(z) -{ 1 }-> active(0) :|: z = 0 mark(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 mark(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 s(z) -{ 1 }-> s(X) :|: z = 1 + X, X >= 0 s(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 s(z) -{ 0 }-> 1 + x0 :|: z = x0, x0 >= 0 sel(z, z') -{ 1 }-> sel(X1, X2) :|: X1 >= 0, z = 1 + X1, X2 >= 0, z' = X2 sel(z, z') -{ 1 }-> sel(X1, X2) :|: X1 >= 0, z' = 1 + X2, X2 >= 0, z = X1 sel(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 sel(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 Only complete derivations are relevant for the runtime complexity. ---------------------------------------- (35) CpxTrsToCdtProof (UPPER BOUND(ID)) Converted Cpx (relative) TRS to CDT ---------------------------------------- (36) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) encode_active(z0) -> active(encArg(z0)) encode_from(z0) -> from(encArg(z0)) encode_mark(z0) -> mark(encArg(z0)) encode_cons(z0, z1) -> cons(encArg(z0), encArg(z1)) encode_s(z0) -> s(encArg(z0)) encode_first(z0, z1) -> first(encArg(z0), encArg(z1)) encode_0 -> 0 encode_nil -> nil encode_sel(z0, z1) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(0) -> c ENCARG(nil) -> c1 ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_ACTIVE(z0) -> c9(ACTIVE(encArg(z0)), ENCARG(z0)) ENCODE_FROM(z0) -> c10(FROM(encArg(z0)), ENCARG(z0)) ENCODE_MARK(z0) -> c11(MARK(encArg(z0)), ENCARG(z0)) ENCODE_CONS(z0, z1) -> c12(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_S(z0) -> c13(S(encArg(z0)), ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c14(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_0 -> c15 ENCODE_NIL -> c16 ENCODE_SEL(z0, z1) -> c17(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), CONS(z0, from(s(z0))), FROM(s(z0)), S(z0)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(0) -> c27(ACTIVE(0)) MARK(nil) -> c28(ACTIVE(nil)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) S tuples: ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), CONS(z0, from(s(z0))), FROM(s(z0)), S(z0)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(0) -> c27(ACTIVE(0)) MARK(nil) -> c28(ACTIVE(nil)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) K tuples:none Defined Rule Symbols: active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2, encArg_1, encode_active_1, encode_from_1, encode_mark_1, encode_cons_2, encode_s_1, encode_first_2, encode_0, encode_nil, encode_sel_2 Defined Pair Symbols: ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_0, ENCODE_NIL, ENCODE_SEL_2, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2 Compound Symbols: c, c1, c2_2, c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c9_2, c10_2, c11_2, c12_3, c13_2, c14_3, c15, c16, c17_3, c18_4, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c27_1, c28_1, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1 ---------------------------------------- (37) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing nodes: ENCARG(0) -> c ENCODE_NIL -> c16 ENCODE_0 -> c15 ENCARG(nil) -> c1 ---------------------------------------- (38) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) encode_active(z0) -> active(encArg(z0)) encode_from(z0) -> from(encArg(z0)) encode_mark(z0) -> mark(encArg(z0)) encode_cons(z0, z1) -> cons(encArg(z0), encArg(z1)) encode_s(z0) -> s(encArg(z0)) encode_first(z0, z1) -> first(encArg(z0), encArg(z1)) encode_0 -> 0 encode_nil -> nil encode_sel(z0, z1) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_ACTIVE(z0) -> c9(ACTIVE(encArg(z0)), ENCARG(z0)) ENCODE_FROM(z0) -> c10(FROM(encArg(z0)), ENCARG(z0)) ENCODE_MARK(z0) -> c11(MARK(encArg(z0)), ENCARG(z0)) ENCODE_CONS(z0, z1) -> c12(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_S(z0) -> c13(S(encArg(z0)), ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c14(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_SEL(z0, z1) -> c17(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), CONS(z0, from(s(z0))), FROM(s(z0)), S(z0)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(0) -> c27(ACTIVE(0)) MARK(nil) -> c28(ACTIVE(nil)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) S tuples: ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), CONS(z0, from(s(z0))), FROM(s(z0)), S(z0)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(0) -> c27(ACTIVE(0)) MARK(nil) -> c28(ACTIVE(nil)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) K tuples:none Defined Rule Symbols: active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2, encArg_1, encode_active_1, encode_from_1, encode_mark_1, encode_cons_2, encode_s_1, encode_first_2, encode_0, encode_nil, encode_sel_2 Defined Pair Symbols: ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2 Compound Symbols: c2_2, c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c9_2, c10_2, c11_2, c12_3, c13_2, c14_3, c17_3, c18_4, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c27_1, c28_1, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1 ---------------------------------------- (39) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (40) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) encode_active(z0) -> active(encArg(z0)) encode_from(z0) -> from(encArg(z0)) encode_mark(z0) -> mark(encArg(z0)) encode_cons(z0, z1) -> cons(encArg(z0), encArg(z1)) encode_s(z0) -> s(encArg(z0)) encode_first(z0, z1) -> first(encArg(z0), encArg(z1)) encode_0 -> 0 encode_nil -> nil encode_sel(z0, z1) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_ACTIVE(z0) -> c9(ACTIVE(encArg(z0)), ENCARG(z0)) ENCODE_FROM(z0) -> c10(FROM(encArg(z0)), ENCARG(z0)) ENCODE_MARK(z0) -> c11(MARK(encArg(z0)), ENCARG(z0)) ENCODE_CONS(z0, z1) -> c12(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_S(z0) -> c13(S(encArg(z0)), ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c14(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_SEL(z0, z1) -> c17(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2, encArg_1, encode_active_1, encode_from_1, encode_mark_1, encode_cons_2, encode_s_1, encode_first_2, encode_0, encode_nil, encode_sel_2 Defined Pair Symbols: ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2 Compound Symbols: c2_2, c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c9_2, c10_2, c11_2, c12_3, c13_2, c14_3, c17_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28 ---------------------------------------- (41) CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID)) Split RHS of tuples not part of any SCC ---------------------------------------- (42) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) encode_active(z0) -> active(encArg(z0)) encode_from(z0) -> from(encArg(z0)) encode_mark(z0) -> mark(encArg(z0)) encode_cons(z0, z1) -> cons(encArg(z0), encArg(z1)) encode_s(z0) -> s(encArg(z0)) encode_first(z0, z1) -> first(encArg(z0), encArg(z1)) encode_0 -> 0 encode_nil -> nil encode_sel(z0, z1) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_ACTIVE(z0) -> c(ENCARG(z0)) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_FROM(z0) -> c(ENCARG(z0)) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_MARK(z0) -> c(ENCARG(z0)) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_CONS(z0, z1) -> c(ENCARG(z0)) ENCODE_CONS(z0, z1) -> c(ENCARG(z1)) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_S(z0) -> c(ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_FIRST(z0, z1) -> c(ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c(ENCARG(z1)) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(ENCARG(z0)) ENCODE_SEL(z0, z1) -> c(ENCARG(z1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2, encArg_1, encode_active_1, encode_from_1, encode_mark_1, encode_cons_2, encode_s_1, encode_first_2, encode_0, encode_nil, encode_sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c2_2, c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1 ---------------------------------------- (43) CdtLeafRemovalProof (ComplexityIfPolyImplication) Removed 10 leading nodes: ENCODE_ACTIVE(z0) -> c(ENCARG(z0)) ENCODE_FROM(z0) -> c(ENCARG(z0)) ENCODE_MARK(z0) -> c(ENCARG(z0)) ENCODE_CONS(z0, z1) -> c(ENCARG(z0)) ENCODE_CONS(z0, z1) -> c(ENCARG(z1)) ENCODE_S(z0) -> c(ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c(ENCARG(z0)) ENCODE_FIRST(z0, z1) -> c(ENCARG(z1)) ENCODE_SEL(z0, z1) -> c(ENCARG(z0)) ENCODE_SEL(z0, z1) -> c(ENCARG(z1)) ---------------------------------------- (44) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) encode_active(z0) -> active(encArg(z0)) encode_from(z0) -> from(encArg(z0)) encode_mark(z0) -> mark(encArg(z0)) encode_cons(z0, z1) -> cons(encArg(z0), encArg(z1)) encode_s(z0) -> s(encArg(z0)) encode_first(z0, z1) -> first(encArg(z0), encArg(z1)) encode_0 -> 0 encode_nil -> nil encode_sel(z0, z1) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2, encArg_1, encode_active_1, encode_from_1, encode_mark_1, encode_cons_2, encode_s_1, encode_first_2, encode_0, encode_nil, encode_sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c2_2, c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1 ---------------------------------------- (45) CdtUsableRulesProof (BOTH BOUNDS(ID, ID)) The following rules are not usable and were removed: encode_active(z0) -> active(encArg(z0)) encode_from(z0) -> from(encArg(z0)) encode_mark(z0) -> mark(encArg(z0)) encode_cons(z0, z1) -> cons(encArg(z0), encArg(z1)) encode_s(z0) -> s(encArg(z0)) encode_first(z0, z1) -> first(encArg(z0), encArg(z1)) encode_0 -> 0 encode_nil -> nil encode_sel(z0, z1) -> sel(encArg(z0), encArg(z1)) ---------------------------------------- (46) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c2_2, c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1 ---------------------------------------- (47) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(z0)) -> c2(ACTIVE(encArg(z0)), ENCARG(z0)) by ENCARG(cons_active(0)) -> c2(ACTIVE(0), ENCARG(0)) ENCARG(cons_active(nil)) -> c2(ACTIVE(nil), ENCARG(nil)) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ---------------------------------------- (48) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(0)) -> c2(ACTIVE(0), ENCARG(0)) ENCARG(cons_active(nil)) -> c2(ACTIVE(nil), ENCARG(nil)) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2 ---------------------------------------- (49) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_active(nil)) -> c2(ACTIVE(nil), ENCARG(nil)) ENCARG(cons_active(0)) -> c2(ACTIVE(0), ENCARG(0)) ---------------------------------------- (50) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c3_2, c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2 ---------------------------------------- (51) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_mark(z0)) -> c3(MARK(encArg(z0)), ENCARG(z0)) by ENCARG(cons_mark(0)) -> c3(MARK(0), ENCARG(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil), ENCARG(nil)) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ---------------------------------------- (52) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0), ENCARG(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil), ENCARG(nil)) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2 ---------------------------------------- (53) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing tuple parts ---------------------------------------- (54) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c4_2, c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1 ---------------------------------------- (55) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_from(z0)) -> c4(FROM(encArg(z0)), ENCARG(z0)) by ENCARG(cons_from(0)) -> c4(FROM(0), ENCARG(0)) ENCARG(cons_from(nil)) -> c4(FROM(nil), ENCARG(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ---------------------------------------- (56) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(0)) -> c4(FROM(0), ENCARG(0)) ENCARG(cons_from(nil)) -> c4(FROM(nil), ENCARG(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2 ---------------------------------------- (57) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_from(0)) -> c4(FROM(0), ENCARG(0)) ENCARG(cons_from(nil)) -> c4(FROM(nil), ENCARG(nil)) ---------------------------------------- (58) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c5_3, c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2 ---------------------------------------- (59) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(z0, z1)) -> c5(CONS(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) by ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0), ENCARG(0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0), ENCARG(nil)) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(0), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(nil), ENCARG(x1)) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ---------------------------------------- (60) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0), ENCARG(0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0), ENCARG(nil)) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(0), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(nil), ENCARG(x1)) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3 ---------------------------------------- (61) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (62) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c6_2, c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2 ---------------------------------------- (63) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_s(z0)) -> c6(S(encArg(z0)), ENCARG(z0)) by ENCARG(cons_s(0)) -> c6(S(0), ENCARG(0)) ENCARG(cons_s(nil)) -> c6(S(nil), ENCARG(nil)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ---------------------------------------- (64) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(0)) -> c6(S(0), ENCARG(0)) ENCARG(cons_s(nil)) -> c6(S(nil), ENCARG(nil)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2 ---------------------------------------- (65) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_s(nil)) -> c6(S(nil), ENCARG(nil)) ENCARG(cons_s(0)) -> c6(S(0), ENCARG(0)) ---------------------------------------- (66) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c7_3, c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2 ---------------------------------------- (67) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_first(z0, z1)) -> c7(FIRST(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) by ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0), ENCARG(0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0), ENCARG(nil)) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(0), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(nil), ENCARG(x1)) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ---------------------------------------- (68) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0), ENCARG(0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0), ENCARG(nil)) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(0), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(nil), ENCARG(x1)) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3 ---------------------------------------- (69) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (70) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ENCARG_1, ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c8_3, c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2 ---------------------------------------- (71) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_sel(z0, z1)) -> c8(SEL(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) by ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0), ENCARG(0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0), ENCARG(nil)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(0), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(nil), ENCARG(x1)) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ---------------------------------------- (72) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0), ENCARG(0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0), ENCARG(nil)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(0), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(nil), ENCARG(x1)) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3 ---------------------------------------- (73) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (74) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c23_3, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2 ---------------------------------------- (75) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace MARK(from(z0)) -> c23(ACTIVE(from(mark(z0))), FROM(mark(z0)), MARK(z0)) by MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) ---------------------------------------- (76) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c24_3, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3 ---------------------------------------- (77) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace MARK(cons(z0, z1)) -> c24(ACTIVE(cons(mark(z0), z1)), CONS(mark(z0), z1), MARK(z0)) by MARK(cons(z0, z1)) -> c24(ACTIVE(cons(z0, z1)), CONS(mark(z0), z1), MARK(z0)) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) ---------------------------------------- (78) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(z0, z1)), CONS(mark(z0), z1), MARK(z0)) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(z0, z1)) -> c24(ACTIVE(cons(z0, z1)), CONS(mark(z0), z1), MARK(z0)) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1 ---------------------------------------- (79) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (80) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c25_3, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2 ---------------------------------------- (81) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace MARK(s(z0)) -> c25(ACTIVE(s(mark(z0))), S(mark(z0)), MARK(z0)) by MARK(s(z0)) -> c25(ACTIVE(s(z0)), S(mark(z0)), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) ---------------------------------------- (82) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(z0)), S(mark(z0)), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(z0)) -> c25(ACTIVE(s(z0)), S(mark(z0)), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3 ---------------------------------------- (83) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (84) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c26_4, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2 ---------------------------------------- (85) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace MARK(first(z0, z1)) -> c26(ACTIVE(first(mark(z0), mark(z1))), FIRST(mark(z0), mark(z1)), MARK(z0), MARK(z1)) by MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ---------------------------------------- (86) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, MARK_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c29_4, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4 ---------------------------------------- (87) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace MARK(sel(z0, z1)) -> c29(ACTIVE(sel(mark(z0), mark(z1))), SEL(mark(z0), mark(z1)), MARK(z0), MARK(z1)) by MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ---------------------------------------- (88) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (89) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_ACTIVE(z0) -> c(ACTIVE(encArg(z0))) by ENCODE_ACTIVE(0) -> c(ACTIVE(0)) ENCODE_ACTIVE(nil) -> c(ACTIVE(nil)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ---------------------------------------- (90) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(0) -> c(ACTIVE(0)) ENCODE_ACTIVE(nil) -> c(ACTIVE(nil)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (91) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCODE_ACTIVE(0) -> c(ACTIVE(0)) ENCODE_ACTIVE(nil) -> c(ACTIVE(nil)) ---------------------------------------- (92) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_FROM(z0) -> c(FROM(encArg(z0))) ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (93) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_FROM(z0) -> c(FROM(encArg(z0))) by ENCODE_FROM(0) -> c(FROM(0)) ENCODE_FROM(nil) -> c(FROM(nil)) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ---------------------------------------- (94) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(0) -> c(FROM(0)) ENCODE_FROM(nil) -> c(FROM(nil)) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (95) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCODE_FROM(nil) -> c(FROM(nil)) ENCODE_FROM(0) -> c(FROM(0)) ---------------------------------------- (96) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_MARK(z0) -> c(MARK(encArg(z0))) ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (97) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_MARK(z0) -> c(MARK(encArg(z0))) by ENCODE_MARK(0) -> c(MARK(0)) ENCODE_MARK(nil) -> c(MARK(nil)) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ---------------------------------------- (98) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(0) -> c(MARK(0)) ENCODE_MARK(nil) -> c(MARK(nil)) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (99) CdtLeafRemovalProof (ComplexityIfPolyImplication) Removed 2 leading nodes: ENCODE_MARK(0) -> c(MARK(0)) ENCODE_MARK(nil) -> c(MARK(nil)) ---------------------------------------- (100) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (101) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_CONS(z0, z1) -> c(CONS(encArg(z0), encArg(z1))) by ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ---------------------------------------- (102) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_S(z0) -> c(S(encArg(z0))) ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (103) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_S(z0) -> c(S(encArg(z0))) by ENCODE_S(0) -> c(S(0)) ENCODE_S(nil) -> c(S(nil)) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ---------------------------------------- (104) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(0) -> c(S(0)) ENCODE_S(nil) -> c(S(nil)) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (105) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCODE_S(0) -> c(S(0)) ENCODE_S(nil) -> c(S(nil)) ---------------------------------------- (106) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_FIRST_2, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (107) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_FIRST(z0, z1) -> c(FIRST(encArg(z0), encArg(z1))) by ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ---------------------------------------- (108) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCODE_SEL_2, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c_1, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4 ---------------------------------------- (109) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_SEL(z0, z1) -> c(SEL(encArg(z0), encArg(z1))) by ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ---------------------------------------- (110) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1 ---------------------------------------- (111) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(cons_active(z0))) -> c2(ACTIVE(active(encArg(z0))), ENCARG(cons_active(z0))) by ENCARG(cons_active(cons_active(0))) -> c2(ACTIVE(active(0)), ENCARG(cons_active(0))) ENCARG(cons_active(cons_active(nil))) -> c2(ACTIVE(active(nil)), ENCARG(cons_active(nil))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ---------------------------------------- (112) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(0))) -> c2(ACTIVE(active(0)), ENCARG(cons_active(0))) ENCARG(cons_active(cons_active(nil))) -> c2(ACTIVE(active(nil)), ENCARG(cons_active(nil))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1 ---------------------------------------- (113) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_active(cons_active(0))) -> c2(ACTIVE(active(0)), ENCARG(cons_active(0))) ENCARG(cons_active(cons_active(nil))) -> c2(ACTIVE(active(nil)), ENCARG(cons_active(nil))) ---------------------------------------- (114) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1 ---------------------------------------- (115) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(cons_mark(z0))) -> c2(ACTIVE(mark(encArg(z0))), ENCARG(cons_mark(z0))) by ENCARG(cons_active(cons_mark(0))) -> c2(ACTIVE(mark(0)), ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c2(ACTIVE(mark(nil)), ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ---------------------------------------- (116) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c2(ACTIVE(mark(0)), ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c2(ACTIVE(mark(nil)), ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1 ---------------------------------------- (117) CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID)) Split RHS of tuples not part of any SCC ---------------------------------------- (118) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (119) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(cons_cons(z0, z1))) -> c2(ACTIVE(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) by ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ---------------------------------------- (120) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (121) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(cons_s(z0))) -> c2(ACTIVE(s(encArg(z0))), ENCARG(cons_s(z0))) by ENCARG(cons_active(cons_s(0))) -> c2(ACTIVE(s(0)), ENCARG(cons_s(0))) ENCARG(cons_active(cons_s(nil))) -> c2(ACTIVE(s(nil)), ENCARG(cons_s(nil))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ---------------------------------------- (122) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(0))) -> c2(ACTIVE(s(0)), ENCARG(cons_s(0))) ENCARG(cons_active(cons_s(nil))) -> c2(ACTIVE(s(nil)), ENCARG(cons_s(nil))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (123) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_active(cons_s(nil))) -> c2(ACTIVE(s(nil)), ENCARG(cons_s(nil))) ENCARG(cons_active(cons_s(0))) -> c2(ACTIVE(s(0)), ENCARG(cons_s(0))) ---------------------------------------- (124) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (125) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(cons_first(z0, z1))) -> c2(ACTIVE(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) by ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ---------------------------------------- (126) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (127) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_active(cons_sel(z0, z1))) -> c2(ACTIVE(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) by ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ---------------------------------------- (128) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (129) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_mark(cons_active(z0))) -> c3(MARK(active(encArg(z0))), ENCARG(cons_active(z0))) by ENCARG(cons_mark(cons_active(0))) -> c3(MARK(active(0)), ENCARG(cons_active(0))) ENCARG(cons_mark(cons_active(nil))) -> c3(MARK(active(nil)), ENCARG(cons_active(nil))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ---------------------------------------- (130) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(0))) -> c3(MARK(active(0)), ENCARG(cons_active(0))) ENCARG(cons_mark(cons_active(nil))) -> c3(MARK(active(nil)), ENCARG(cons_active(nil))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (131) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_mark(cons_active(0))) -> c3(MARK(active(0)), ENCARG(cons_active(0))) ENCARG(cons_mark(cons_active(nil))) -> c3(MARK(active(nil)), ENCARG(cons_active(nil))) ---------------------------------------- (132) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (133) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_mark(cons_mark(z0))) -> c3(MARK(mark(encArg(z0))), ENCARG(cons_mark(z0))) by ENCARG(cons_mark(cons_mark(0))) -> c3(MARK(mark(0)), ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c3(MARK(mark(nil)), ENCARG(cons_mark(nil))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ---------------------------------------- (134) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c3(MARK(mark(0)), ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c3(MARK(mark(nil)), ENCARG(cons_mark(nil))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1 ---------------------------------------- (135) CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID)) Split RHS of tuples not part of any SCC ---------------------------------------- (136) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (137) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_from(cons_from(z0))) -> c4(FROM(from(encArg(z0))), ENCARG(cons_from(z0))) by ENCARG(cons_from(cons_from(0))) -> c4(FROM(from(0)), ENCARG(cons_from(0))) ENCARG(cons_from(cons_from(nil))) -> c4(FROM(from(nil)), ENCARG(cons_from(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ---------------------------------------- (138) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(0))) -> c4(FROM(from(0)), ENCARG(cons_from(0))) ENCARG(cons_from(cons_from(nil))) -> c4(FROM(from(nil)), ENCARG(cons_from(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (139) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_from(cons_from(nil))) -> c4(FROM(from(nil)), ENCARG(cons_from(nil))) ENCARG(cons_from(cons_from(0))) -> c4(FROM(from(0)), ENCARG(cons_from(0))) ---------------------------------------- (140) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (141) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_from(cons_cons(z0, z1))) -> c4(FROM(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) by ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ---------------------------------------- (142) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (143) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_from(cons_s(z0))) -> c4(FROM(s(encArg(z0))), ENCARG(cons_s(z0))) by ENCARG(cons_from(cons_s(0))) -> c4(FROM(s(0)), ENCARG(cons_s(0))) ENCARG(cons_from(cons_s(nil))) -> c4(FROM(s(nil)), ENCARG(cons_s(nil))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ---------------------------------------- (144) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(0))) -> c4(FROM(s(0)), ENCARG(cons_s(0))) ENCARG(cons_from(cons_s(nil))) -> c4(FROM(s(nil)), ENCARG(cons_s(nil))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (145) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing nodes: ENCARG(cons_from(cons_s(0))) -> c4(FROM(s(0)), ENCARG(cons_s(0))) ENCARG(cons_from(cons_s(nil))) -> c4(FROM(s(nil)), ENCARG(cons_s(nil))) ---------------------------------------- (146) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (147) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_from(cons_first(z0, z1))) -> c4(FROM(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) by ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ---------------------------------------- (148) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (149) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_from(cons_sel(z0, z1))) -> c4(FROM(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) by ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ---------------------------------------- (150) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (151) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(x0, cons_from(z0))) -> c5(CONS(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) by ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0), ENCARG(cons_from(0))) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0), ENCARG(cons_from(nil))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(0), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(nil), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ---------------------------------------- (152) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0), ENCARG(cons_from(0))) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0), ENCARG(cons_from(nil))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(0), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(nil), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (153) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (154) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (155) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(x0, cons_cons(z0, z1))) -> c5(CONS(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) by ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(0), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(nil), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ---------------------------------------- (156) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(0), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(nil), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (157) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing tuple parts ---------------------------------------- (158) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (159) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(x0, cons_s(z0))) -> c5(CONS(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) by ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0), ENCARG(cons_s(0))) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0), ENCARG(cons_s(nil))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(0), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(nil), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ---------------------------------------- (160) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0), ENCARG(cons_s(0))) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0), ENCARG(cons_s(nil))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(0), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(nil), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (161) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (162) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (163) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(x0, cons_first(z0, z1))) -> c5(CONS(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) by ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(0), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(nil), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ---------------------------------------- (164) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(0), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(nil), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (165) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing tuple parts ---------------------------------------- (166) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (167) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(x0, cons_sel(z0, z1))) -> c5(CONS(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) by ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(0), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(nil), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ---------------------------------------- (168) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(0), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(nil), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (169) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing tuple parts ---------------------------------------- (170) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (171) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(cons_from(z0), x1)) -> c5(CONS(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) by ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0)), ENCARG(0)) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0)), ENCARG(nil)) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(x0), cons_from(z0))) -> c5(CONS(from(encArg(x0)), from(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_from(z0))) ENCARG(cons_cons(cons_from(x0), cons_cons(z0, z1))) -> c5(CONS(from(encArg(x0)), cons(encArg(z0), encArg(z1))), ENCARG(cons_from(x0)), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(cons_from(x0), cons_s(z0))) -> c5(CONS(from(encArg(x0)), s(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_s(z0))) ENCARG(cons_cons(cons_from(x0), cons_first(z0, z1))) -> c5(CONS(from(encArg(x0)), first(encArg(z0), encArg(z1))), ENCARG(cons_from(x0)), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(cons_from(x0), cons_sel(z0, z1))) -> c5(CONS(from(encArg(x0)), sel(encArg(z0), encArg(z1))), ENCARG(cons_from(x0)), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(cons_from(0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(cons_from(nil)), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) ---------------------------------------- (172) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0)), ENCARG(0)) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0)), ENCARG(nil)) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(cons_from(0)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(cons_from(nil)), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (173) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (174) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (175) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(cons_cons(z0, z1), x1)) -> c5(CONS(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) by ENCARG(cons_cons(cons_cons(x0, x1), 0)) -> c5(CONS(cons(encArg(x0), encArg(x1)), 0), ENCARG(cons_cons(x0, x1)), ENCARG(0)) ENCARG(cons_cons(cons_cons(x0, x1), nil)) -> c5(CONS(cons(encArg(x0), encArg(x1)), nil), ENCARG(cons_cons(x0, x1)), ENCARG(nil)) ENCARG(cons_cons(cons_cons(x0, x1), cons_active(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), active(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_mark(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), mark(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_from(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), from(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_from(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_cons(z0, z1))) -> c5(CONS(cons(encArg(x0), encArg(x1)), cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(cons_cons(x0, x1), cons_s(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), s(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_s(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_first(z0, z1))) -> c5(CONS(cons(encArg(x0), encArg(x1)), first(encArg(z0), encArg(z1))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(cons_cons(x0, x1), cons_sel(z0, z1))) -> c5(CONS(cons(encArg(x0), encArg(x1)), sel(encArg(z0), encArg(z1))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_cons(x0, 0), x2)) -> c5(CONS(cons(encArg(x0), 0), encArg(x2)), ENCARG(cons_cons(x0, 0)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, nil), x2)) -> c5(CONS(cons(encArg(x0), nil), encArg(x2)), ENCARG(cons_cons(x0, nil)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_active(z0)), x2)) -> c5(CONS(cons(encArg(x0), active(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_active(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_mark(z0)), x2)) -> c5(CONS(cons(encArg(x0), mark(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_mark(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_from(z0)), x2)) -> c5(CONS(cons(encArg(x0), from(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_from(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_cons(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), cons(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_cons(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_s(z0)), x2)) -> c5(CONS(cons(encArg(x0), s(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_s(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_first(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), first(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_first(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_sel(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), sel(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_sel(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(0, x1), x2)) -> c5(CONS(cons(0, encArg(x1)), encArg(x2)), ENCARG(cons_cons(0, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(nil, x1), x2)) -> c5(CONS(cons(nil, encArg(x1)), encArg(x2)), ENCARG(cons_cons(nil, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_active(z0), x1), x2)) -> c5(CONS(cons(active(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_active(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_mark(z0), x1), x2)) -> c5(CONS(cons(mark(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_mark(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_from(z0), x1), x2)) -> c5(CONS(cons(from(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_from(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_cons(z0, z1), x1), x2)) -> c5(CONS(cons(cons(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_cons(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_s(z0), x1), x2)) -> c5(CONS(cons(s(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_s(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_first(z0, z1), x1), x2)) -> c5(CONS(cons(first(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_first(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_sel(z0, z1), x1), x2)) -> c5(CONS(cons(sel(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_sel(z0, z1), x1)), ENCARG(x2)) ---------------------------------------- (176) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(x0, x1), 0)) -> c5(CONS(cons(encArg(x0), encArg(x1)), 0), ENCARG(cons_cons(x0, x1)), ENCARG(0)) ENCARG(cons_cons(cons_cons(x0, x1), nil)) -> c5(CONS(cons(encArg(x0), encArg(x1)), nil), ENCARG(cons_cons(x0, x1)), ENCARG(nil)) ENCARG(cons_cons(cons_cons(x0, x1), cons_active(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), active(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_mark(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), mark(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_cons(x0, 0), x2)) -> c5(CONS(cons(encArg(x0), 0), encArg(x2)), ENCARG(cons_cons(x0, 0)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, nil), x2)) -> c5(CONS(cons(encArg(x0), nil), encArg(x2)), ENCARG(cons_cons(x0, nil)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_active(z0)), x2)) -> c5(CONS(cons(encArg(x0), active(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_active(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_mark(z0)), x2)) -> c5(CONS(cons(encArg(x0), mark(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_mark(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_from(z0)), x2)) -> c5(CONS(cons(encArg(x0), from(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_from(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_cons(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), cons(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_cons(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_s(z0)), x2)) -> c5(CONS(cons(encArg(x0), s(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_s(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_first(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), first(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_first(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_sel(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), sel(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_sel(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(0, x1), x2)) -> c5(CONS(cons(0, encArg(x1)), encArg(x2)), ENCARG(cons_cons(0, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(nil, x1), x2)) -> c5(CONS(cons(nil, encArg(x1)), encArg(x2)), ENCARG(cons_cons(nil, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_active(z0), x1), x2)) -> c5(CONS(cons(active(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_active(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_mark(z0), x1), x2)) -> c5(CONS(cons(mark(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_mark(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_from(z0), x1), x2)) -> c5(CONS(cons(from(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_from(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_cons(z0, z1), x1), x2)) -> c5(CONS(cons(cons(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_cons(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_s(z0), x1), x2)) -> c5(CONS(cons(s(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_s(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_first(z0, z1), x1), x2)) -> c5(CONS(cons(first(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_first(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_sel(z0, z1), x1), x2)) -> c5(CONS(cons(sel(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_sel(z0, z1), x1)), ENCARG(x2)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (177) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 2 trailing tuple parts ---------------------------------------- (178) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(x0, x1), cons_active(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), active(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_mark(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), mark(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_cons(x0, 0), x2)) -> c5(CONS(cons(encArg(x0), 0), encArg(x2)), ENCARG(cons_cons(x0, 0)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, nil), x2)) -> c5(CONS(cons(encArg(x0), nil), encArg(x2)), ENCARG(cons_cons(x0, nil)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_active(z0)), x2)) -> c5(CONS(cons(encArg(x0), active(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_active(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_mark(z0)), x2)) -> c5(CONS(cons(encArg(x0), mark(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_mark(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_from(z0)), x2)) -> c5(CONS(cons(encArg(x0), from(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_from(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_cons(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), cons(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_cons(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_s(z0)), x2)) -> c5(CONS(cons(encArg(x0), s(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_s(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_first(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), first(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_first(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_sel(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), sel(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_sel(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(0, x1), x2)) -> c5(CONS(cons(0, encArg(x1)), encArg(x2)), ENCARG(cons_cons(0, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(nil, x1), x2)) -> c5(CONS(cons(nil, encArg(x1)), encArg(x2)), ENCARG(cons_cons(nil, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_active(z0), x1), x2)) -> c5(CONS(cons(active(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_active(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_mark(z0), x1), x2)) -> c5(CONS(cons(mark(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_mark(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_from(z0), x1), x2)) -> c5(CONS(cons(from(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_from(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_cons(z0, z1), x1), x2)) -> c5(CONS(cons(cons(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_cons(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_s(z0), x1), x2)) -> c5(CONS(cons(s(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_s(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_first(z0, z1), x1), x2)) -> c5(CONS(cons(first(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_first(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_sel(z0, z1), x1), x2)) -> c5(CONS(cons(sel(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_sel(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, x1), 0)) -> c5(CONS(cons(encArg(x0), encArg(x1)), 0), ENCARG(cons_cons(x0, x1))) ENCARG(cons_cons(cons_cons(x0, x1), nil)) -> c5(CONS(cons(encArg(x0), encArg(x1)), nil), ENCARG(cons_cons(x0, x1))) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (179) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_cons(cons_s(z0), x1)) -> c5(CONS(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) by ENCARG(cons_cons(cons_s(x0), 0)) -> c5(CONS(s(encArg(x0)), 0), ENCARG(cons_s(x0)), ENCARG(0)) ENCARG(cons_cons(cons_s(x0), nil)) -> c5(CONS(s(encArg(x0)), nil), ENCARG(cons_s(x0)), ENCARG(nil)) ENCARG(cons_cons(cons_s(x0), cons_active(z0))) -> c5(CONS(s(encArg(x0)), active(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_s(x0), cons_mark(z0))) -> c5(CONS(s(encArg(x0)), mark(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_s(x0), cons_from(z0))) -> c5(CONS(s(encArg(x0)), from(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_from(z0))) ENCARG(cons_cons(cons_s(x0), cons_cons(z0, z1))) -> c5(CONS(s(encArg(x0)), cons(encArg(z0), encArg(z1))), ENCARG(cons_s(x0)), ENCARG(cons_cons(z0, z1))) ENCARG(cons_cons(cons_s(x0), cons_s(z0))) -> c5(CONS(s(encArg(x0)), s(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_s(z0))) ENCARG(cons_cons(cons_s(x0), cons_first(z0, z1))) -> c5(CONS(s(encArg(x0)), first(encArg(z0), encArg(z1))), ENCARG(cons_s(x0)), ENCARG(cons_first(z0, z1))) ENCARG(cons_cons(cons_s(x0), cons_sel(z0, z1))) -> c5(CONS(s(encArg(x0)), sel(encArg(z0), encArg(z1))), ENCARG(cons_s(x0)), ENCARG(cons_sel(z0, z1))) ENCARG(cons_cons(cons_s(0), x1)) -> c5(CONS(s(0), encArg(x1)), ENCARG(cons_s(0)), ENCARG(x1)) ENCARG(cons_cons(cons_s(nil), x1)) -> c5(CONS(s(nil), encArg(x1)), ENCARG(cons_s(nil)), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_active(z0)), x1)) -> c5(CONS(s(active(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_mark(z0)), x1)) -> c5(CONS(s(mark(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_from(z0)), x1)) -> c5(CONS(s(from(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_cons(z0, z1)), x1)) -> c5(CONS(s(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_s(z0)), x1)) -> c5(CONS(s(s(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_first(z0, z1)), x1)) -> c5(CONS(s(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_sel(z0, z1)), x1)) -> c5(CONS(s(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_sel(z0, z1))), ENCARG(x1)) ---------------------------------------- (180) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(x0, x1), cons_active(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), active(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_mark(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), mark(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_cons(x0, 0), x2)) -> c5(CONS(cons(encArg(x0), 0), encArg(x2)), ENCARG(cons_cons(x0, 0)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, nil), x2)) -> c5(CONS(cons(encArg(x0), nil), encArg(x2)), ENCARG(cons_cons(x0, nil)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_active(z0)), x2)) -> c5(CONS(cons(encArg(x0), active(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_active(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_mark(z0)), x2)) -> c5(CONS(cons(encArg(x0), mark(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_mark(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_from(z0)), x2)) -> c5(CONS(cons(encArg(x0), from(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_from(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_cons(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), cons(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_cons(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_s(z0)), x2)) -> c5(CONS(cons(encArg(x0), s(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_s(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_first(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), first(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_first(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_sel(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), sel(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_sel(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(0, x1), x2)) -> c5(CONS(cons(0, encArg(x1)), encArg(x2)), ENCARG(cons_cons(0, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(nil, x1), x2)) -> c5(CONS(cons(nil, encArg(x1)), encArg(x2)), ENCARG(cons_cons(nil, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_active(z0), x1), x2)) -> c5(CONS(cons(active(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_active(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_mark(z0), x1), x2)) -> c5(CONS(cons(mark(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_mark(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_from(z0), x1), x2)) -> c5(CONS(cons(from(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_from(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_cons(z0, z1), x1), x2)) -> c5(CONS(cons(cons(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_cons(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_s(z0), x1), x2)) -> c5(CONS(cons(s(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_s(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_first(z0, z1), x1), x2)) -> c5(CONS(cons(first(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_first(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_sel(z0, z1), x1), x2)) -> c5(CONS(cons(sel(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_sel(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, x1), 0)) -> c5(CONS(cons(encArg(x0), encArg(x1)), 0), ENCARG(cons_cons(x0, x1))) ENCARG(cons_cons(cons_cons(x0, x1), nil)) -> c5(CONS(cons(encArg(x0), encArg(x1)), nil), ENCARG(cons_cons(x0, x1))) ENCARG(cons_cons(cons_s(x0), 0)) -> c5(CONS(s(encArg(x0)), 0), ENCARG(cons_s(x0)), ENCARG(0)) ENCARG(cons_cons(cons_s(x0), nil)) -> c5(CONS(s(encArg(x0)), nil), ENCARG(cons_s(x0)), ENCARG(nil)) ENCARG(cons_cons(cons_s(x0), cons_active(z0))) -> c5(CONS(s(encArg(x0)), active(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_s(x0), cons_mark(z0))) -> c5(CONS(s(encArg(x0)), mark(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_s(0), x1)) -> c5(CONS(s(0), encArg(x1)), ENCARG(cons_s(0)), ENCARG(x1)) ENCARG(cons_cons(cons_s(nil), x1)) -> c5(CONS(s(nil), encArg(x1)), ENCARG(cons_s(nil)), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_active(z0)), x1)) -> c5(CONS(s(active(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_mark(z0)), x1)) -> c5(CONS(s(mark(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_from(z0)), x1)) -> c5(CONS(s(from(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_cons(z0, z1)), x1)) -> c5(CONS(s(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_s(z0)), x1)) -> c5(CONS(s(s(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_first(z0, z1)), x1)) -> c5(CONS(s(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_sel(z0, z1)), x1)) -> c5(CONS(s(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_sel(z0, z1))), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1 ---------------------------------------- (181) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 4 trailing tuple parts ---------------------------------------- (182) Obligation: Complexity Dependency Tuples Problem Rules: encArg(0) -> 0 encArg(nil) -> nil encArg(cons_active(z0)) -> active(encArg(z0)) encArg(cons_mark(z0)) -> mark(encArg(z0)) encArg(cons_from(z0)) -> from(encArg(z0)) encArg(cons_cons(z0, z1)) -> cons(encArg(z0), encArg(z1)) encArg(cons_s(z0)) -> s(encArg(z0)) encArg(cons_first(z0, z1)) -> first(encArg(z0), encArg(z1)) encArg(cons_sel(z0, z1)) -> sel(encArg(z0), encArg(z1)) active(from(z0)) -> mark(cons(z0, from(s(z0)))) active(first(0, z0)) -> mark(nil) active(first(s(z0), cons(z1, z2))) -> mark(cons(z1, first(z0, z2))) active(sel(0, cons(z0, z1))) -> mark(z0) active(sel(s(z0), cons(z1, z2))) -> mark(sel(z0, z2)) mark(from(z0)) -> active(from(mark(z0))) mark(cons(z0, z1)) -> active(cons(mark(z0), z1)) mark(s(z0)) -> active(s(mark(z0))) mark(first(z0, z1)) -> active(first(mark(z0), mark(z1))) mark(0) -> active(0) mark(nil) -> active(nil) mark(sel(z0, z1)) -> active(sel(mark(z0), mark(z1))) from(mark(z0)) -> from(z0) from(active(z0)) -> from(z0) cons(mark(z0), z1) -> cons(z0, z1) cons(z0, mark(z1)) -> cons(z0, z1) cons(active(z0), z1) -> cons(z0, z1) cons(z0, active(z1)) -> cons(z0, z1) s(mark(z0)) -> s(z0) s(active(z0)) -> s(z0) first(mark(z0), z1) -> first(z0, z1) first(z0, mark(z1)) -> first(z0, z1) first(active(z0), z1) -> first(z0, z1) first(z0, active(z1)) -> first(z0, z1) sel(mark(z0), z1) -> sel(z0, z1) sel(z0, mark(z1)) -> sel(z0, z1) sel(active(z0), z1) -> sel(z0, z1) sel(z0, active(z1)) -> sel(z0, z1) Tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 ENCARG(cons_active(cons_from(z0))) -> c2(ACTIVE(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_from(z0))) -> c3(MARK(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_mark(cons_cons(z0, z1))) -> c3(MARK(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_mark(cons_s(z0))) -> c3(MARK(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_mark(cons_first(z0, z1))) -> c3(MARK(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_mark(cons_sel(z0, z1))) -> c3(MARK(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_mark(0)) -> c3(MARK(0)) ENCARG(cons_mark(nil)) -> c3(MARK(nil)) ENCARG(cons_from(cons_active(z0))) -> c4(FROM(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_from(cons_mark(z0))) -> c4(FROM(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_cons(x0, cons_active(z0))) -> c5(CONS(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_cons(x0, cons_mark(z0))) -> c5(CONS(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_active(z0), x1)) -> c5(CONS(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_mark(z0), x1)) -> c5(CONS(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_cons(cons_first(z0, z1), x1)) -> c5(CONS(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(cons_sel(z0, z1), x1)) -> c5(CONS(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_cons(x0, 0)) -> c5(CONS(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_cons(x0, nil)) -> c5(CONS(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_cons(0, x1)) -> c5(CONS(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(nil, x1)) -> c5(CONS(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_s(cons_active(z0))) -> c6(S(active(encArg(z0))), ENCARG(cons_active(z0))) ENCARG(cons_s(cons_mark(z0))) -> c6(S(mark(encArg(z0))), ENCARG(cons_mark(z0))) ENCARG(cons_s(cons_from(z0))) -> c6(S(from(encArg(z0))), ENCARG(cons_from(z0))) ENCARG(cons_s(cons_cons(z0, z1))) -> c6(S(cons(encArg(z0), encArg(z1))), ENCARG(cons_cons(z0, z1))) ENCARG(cons_s(cons_s(z0))) -> c6(S(s(encArg(z0))), ENCARG(cons_s(z0))) ENCARG(cons_s(cons_first(z0, z1))) -> c6(S(first(encArg(z0), encArg(z1))), ENCARG(cons_first(z0, z1))) ENCARG(cons_s(cons_sel(z0, z1))) -> c6(S(sel(encArg(z0), encArg(z1))), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(x0, cons_active(z0))) -> c7(FIRST(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_first(x0, cons_mark(z0))) -> c7(FIRST(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_first(x0, cons_from(z0))) -> c7(FIRST(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_first(x0, cons_cons(z0, z1))) -> c7(FIRST(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_first(x0, cons_s(z0))) -> c7(FIRST(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_first(x0, cons_first(z0, z1))) -> c7(FIRST(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_first(x0, cons_sel(z0, z1))) -> c7(FIRST(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_first(cons_active(z0), x1)) -> c7(FIRST(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_first(cons_mark(z0), x1)) -> c7(FIRST(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_first(cons_from(z0), x1)) -> c7(FIRST(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_first(cons_cons(z0, z1), x1)) -> c7(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_s(z0), x1)) -> c7(FIRST(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_first(cons_first(z0, z1), x1)) -> c7(FIRST(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_first(cons_sel(z0, z1), x1)) -> c7(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_first(x0, 0)) -> c7(FIRST(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_first(x0, nil)) -> c7(FIRST(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_first(0, x1)) -> c7(FIRST(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_first(nil, x1)) -> c7(FIRST(nil, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(x0, cons_active(z0))) -> c8(SEL(encArg(x0), active(encArg(z0))), ENCARG(x0), ENCARG(cons_active(z0))) ENCARG(cons_sel(x0, cons_mark(z0))) -> c8(SEL(encArg(x0), mark(encArg(z0))), ENCARG(x0), ENCARG(cons_mark(z0))) ENCARG(cons_sel(x0, cons_from(z0))) -> c8(SEL(encArg(x0), from(encArg(z0))), ENCARG(x0), ENCARG(cons_from(z0))) ENCARG(cons_sel(x0, cons_cons(z0, z1))) -> c8(SEL(encArg(x0), cons(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_cons(z0, z1))) ENCARG(cons_sel(x0, cons_s(z0))) -> c8(SEL(encArg(x0), s(encArg(z0))), ENCARG(x0), ENCARG(cons_s(z0))) ENCARG(cons_sel(x0, cons_first(z0, z1))) -> c8(SEL(encArg(x0), first(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_first(z0, z1))) ENCARG(cons_sel(x0, cons_sel(z0, z1))) -> c8(SEL(encArg(x0), sel(encArg(z0), encArg(z1))), ENCARG(x0), ENCARG(cons_sel(z0, z1))) ENCARG(cons_sel(cons_active(z0), x1)) -> c8(SEL(active(encArg(z0)), encArg(x1)), ENCARG(cons_active(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_mark(z0), x1)) -> c8(SEL(mark(encArg(z0)), encArg(x1)), ENCARG(cons_mark(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_from(z0), x1)) -> c8(SEL(from(encArg(z0)), encArg(x1)), ENCARG(cons_from(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_cons(z0, z1), x1)) -> c8(SEL(cons(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_cons(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_s(z0), x1)) -> c8(SEL(s(encArg(z0)), encArg(x1)), ENCARG(cons_s(z0)), ENCARG(x1)) ENCARG(cons_sel(cons_first(z0, z1), x1)) -> c8(SEL(first(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_first(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(cons_sel(z0, z1), x1)) -> c8(SEL(sel(encArg(z0), encArg(z1)), encArg(x1)), ENCARG(cons_sel(z0, z1)), ENCARG(x1)) ENCARG(cons_sel(x0, 0)) -> c8(SEL(encArg(x0), 0), ENCARG(x0)) ENCARG(cons_sel(x0, nil)) -> c8(SEL(encArg(x0), nil), ENCARG(x0)) ENCARG(cons_sel(0, x1)) -> c8(SEL(0, encArg(x1)), ENCARG(x1)) ENCARG(cons_sel(nil, x1)) -> c8(SEL(nil, encArg(x1)), ENCARG(x1)) MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) ENCODE_ACTIVE(cons_active(z0)) -> c(ACTIVE(active(encArg(z0)))) ENCODE_ACTIVE(cons_mark(z0)) -> c(ACTIVE(mark(encArg(z0)))) ENCODE_ACTIVE(cons_from(z0)) -> c(ACTIVE(from(encArg(z0)))) ENCODE_ACTIVE(cons_cons(z0, z1)) -> c(ACTIVE(cons(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_s(z0)) -> c(ACTIVE(s(encArg(z0)))) ENCODE_ACTIVE(cons_first(z0, z1)) -> c(ACTIVE(first(encArg(z0), encArg(z1)))) ENCODE_ACTIVE(cons_sel(z0, z1)) -> c(ACTIVE(sel(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_active(z0)) -> c(FROM(active(encArg(z0)))) ENCODE_FROM(cons_mark(z0)) -> c(FROM(mark(encArg(z0)))) ENCODE_FROM(cons_from(z0)) -> c(FROM(from(encArg(z0)))) ENCODE_FROM(cons_cons(z0, z1)) -> c(FROM(cons(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_s(z0)) -> c(FROM(s(encArg(z0)))) ENCODE_FROM(cons_first(z0, z1)) -> c(FROM(first(encArg(z0), encArg(z1)))) ENCODE_FROM(cons_sel(z0, z1)) -> c(FROM(sel(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_active(z0)) -> c(MARK(active(encArg(z0)))) ENCODE_MARK(cons_mark(z0)) -> c(MARK(mark(encArg(z0)))) ENCODE_MARK(cons_from(z0)) -> c(MARK(from(encArg(z0)))) ENCODE_MARK(cons_cons(z0, z1)) -> c(MARK(cons(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_s(z0)) -> c(MARK(s(encArg(z0)))) ENCODE_MARK(cons_first(z0, z1)) -> c(MARK(first(encArg(z0), encArg(z1)))) ENCODE_MARK(cons_sel(z0, z1)) -> c(MARK(sel(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, 0) -> c(CONS(encArg(x0), 0)) ENCODE_CONS(x0, nil) -> c(CONS(encArg(x0), nil)) ENCODE_CONS(x0, cons_active(z0)) -> c(CONS(encArg(x0), active(encArg(z0)))) ENCODE_CONS(x0, cons_mark(z0)) -> c(CONS(encArg(x0), mark(encArg(z0)))) ENCODE_CONS(x0, cons_from(z0)) -> c(CONS(encArg(x0), from(encArg(z0)))) ENCODE_CONS(x0, cons_cons(z0, z1)) -> c(CONS(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_s(z0)) -> c(CONS(encArg(x0), s(encArg(z0)))) ENCODE_CONS(x0, cons_first(z0, z1)) -> c(CONS(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_CONS(x0, cons_sel(z0, z1)) -> c(CONS(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_CONS(0, x1) -> c(CONS(0, encArg(x1))) ENCODE_CONS(nil, x1) -> c(CONS(nil, encArg(x1))) ENCODE_CONS(cons_active(z0), x1) -> c(CONS(active(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_mark(z0), x1) -> c(CONS(mark(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_from(z0), x1) -> c(CONS(from(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_cons(z0, z1), x1) -> c(CONS(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_s(z0), x1) -> c(CONS(s(encArg(z0)), encArg(x1))) ENCODE_CONS(cons_first(z0, z1), x1) -> c(CONS(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_CONS(cons_sel(z0, z1), x1) -> c(CONS(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_S(cons_active(z0)) -> c(S(active(encArg(z0)))) ENCODE_S(cons_mark(z0)) -> c(S(mark(encArg(z0)))) ENCODE_S(cons_from(z0)) -> c(S(from(encArg(z0)))) ENCODE_S(cons_cons(z0, z1)) -> c(S(cons(encArg(z0), encArg(z1)))) ENCODE_S(cons_s(z0)) -> c(S(s(encArg(z0)))) ENCODE_S(cons_first(z0, z1)) -> c(S(first(encArg(z0), encArg(z1)))) ENCODE_S(cons_sel(z0, z1)) -> c(S(sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, 0) -> c(FIRST(encArg(x0), 0)) ENCODE_FIRST(x0, nil) -> c(FIRST(encArg(x0), nil)) ENCODE_FIRST(x0, cons_active(z0)) -> c(FIRST(encArg(x0), active(encArg(z0)))) ENCODE_FIRST(x0, cons_mark(z0)) -> c(FIRST(encArg(x0), mark(encArg(z0)))) ENCODE_FIRST(x0, cons_from(z0)) -> c(FIRST(encArg(x0), from(encArg(z0)))) ENCODE_FIRST(x0, cons_cons(z0, z1)) -> c(FIRST(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_s(z0)) -> c(FIRST(encArg(x0), s(encArg(z0)))) ENCODE_FIRST(x0, cons_first(z0, z1)) -> c(FIRST(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_FIRST(x0, cons_sel(z0, z1)) -> c(FIRST(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_FIRST(0, x1) -> c(FIRST(0, encArg(x1))) ENCODE_FIRST(nil, x1) -> c(FIRST(nil, encArg(x1))) ENCODE_FIRST(cons_active(z0), x1) -> c(FIRST(active(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_mark(z0), x1) -> c(FIRST(mark(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_from(z0), x1) -> c(FIRST(from(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_cons(z0, z1), x1) -> c(FIRST(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_s(z0), x1) -> c(FIRST(s(encArg(z0)), encArg(x1))) ENCODE_FIRST(cons_first(z0, z1), x1) -> c(FIRST(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_FIRST(cons_sel(z0, z1), x1) -> c(FIRST(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(x0, 0) -> c(SEL(encArg(x0), 0)) ENCODE_SEL(x0, nil) -> c(SEL(encArg(x0), nil)) ENCODE_SEL(x0, cons_active(z0)) -> c(SEL(encArg(x0), active(encArg(z0)))) ENCODE_SEL(x0, cons_mark(z0)) -> c(SEL(encArg(x0), mark(encArg(z0)))) ENCODE_SEL(x0, cons_from(z0)) -> c(SEL(encArg(x0), from(encArg(z0)))) ENCODE_SEL(x0, cons_cons(z0, z1)) -> c(SEL(encArg(x0), cons(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_s(z0)) -> c(SEL(encArg(x0), s(encArg(z0)))) ENCODE_SEL(x0, cons_first(z0, z1)) -> c(SEL(encArg(x0), first(encArg(z0), encArg(z1)))) ENCODE_SEL(x0, cons_sel(z0, z1)) -> c(SEL(encArg(x0), sel(encArg(z0), encArg(z1)))) ENCODE_SEL(0, x1) -> c(SEL(0, encArg(x1))) ENCODE_SEL(nil, x1) -> c(SEL(nil, encArg(x1))) ENCODE_SEL(cons_active(z0), x1) -> c(SEL(active(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_mark(z0), x1) -> c(SEL(mark(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_from(z0), x1) -> c(SEL(from(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_cons(z0, z1), x1) -> c(SEL(cons(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_s(z0), x1) -> c(SEL(s(encArg(z0)), encArg(x1))) ENCODE_SEL(cons_first(z0, z1), x1) -> c(SEL(first(encArg(z0), encArg(z1)), encArg(x1))) ENCODE_SEL(cons_sel(z0, z1), x1) -> c(SEL(sel(encArg(z0), encArg(z1)), encArg(x1))) ENCARG(cons_active(cons_active(cons_active(z0)))) -> c2(ACTIVE(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_active(cons_active(cons_mark(z0)))) -> c2(ACTIVE(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_active(cons_active(cons_from(z0)))) -> c2(ACTIVE(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_active(cons_active(cons_cons(z0, z1)))) -> c2(ACTIVE(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_active(cons_active(cons_s(z0)))) -> c2(ACTIVE(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_active(cons_active(cons_first(z0, z1)))) -> c2(ACTIVE(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_active(cons_active(cons_sel(z0, z1)))) -> c2(ACTIVE(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(cons_active(z0)))) -> c2(ACTIVE(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_active(cons_mark(cons_mark(z0)))) -> c2(ACTIVE(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_active(cons_mark(cons_from(z0)))) -> c2(ACTIVE(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_active(cons_mark(cons_cons(z0, z1)))) -> c2(ACTIVE(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_active(cons_mark(cons_s(z0)))) -> c2(ACTIVE(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_active(cons_mark(cons_first(z0, z1)))) -> c2(ACTIVE(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_active(cons_mark(cons_sel(z0, z1)))) -> c2(ACTIVE(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_active(cons_mark(0))) -> c1(ACTIVE(mark(0))) ENCARG(cons_active(cons_mark(0))) -> c1(ENCARG(cons_mark(0))) ENCARG(cons_active(cons_mark(nil))) -> c1(ACTIVE(mark(nil))) ENCARG(cons_active(cons_mark(nil))) -> c1(ENCARG(cons_mark(nil))) ENCARG(cons_active(cons_cons(x0, 0))) -> c2(ACTIVE(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_active(cons_cons(x0, nil))) -> c2(ACTIVE(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_active(cons_cons(x0, cons_active(z0)))) -> c2(ACTIVE(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_active(cons_cons(x0, cons_mark(z0)))) -> c2(ACTIVE(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_active(cons_cons(x0, cons_from(z0)))) -> c2(ACTIVE(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_active(cons_cons(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_s(z0)))) -> c2(ACTIVE(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_active(cons_cons(x0, cons_first(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_cons(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_cons(0, x1))) -> c2(ACTIVE(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_active(cons_cons(nil, x1))) -> c2(ACTIVE(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_active(cons_cons(cons_active(z0), x1))) -> c2(ACTIVE(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_active(cons_cons(cons_mark(z0), x1))) -> c2(ACTIVE(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_active(cons_cons(cons_from(z0), x1))) -> c2(ACTIVE(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_active(cons_cons(cons_cons(z0, z1), x1))) -> c2(ACTIVE(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_s(z0), x1))) -> c2(ACTIVE(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_active(cons_cons(cons_first(z0, z1), x1))) -> c2(ACTIVE(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_cons(cons_sel(z0, z1), x1))) -> c2(ACTIVE(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_s(cons_active(z0)))) -> c2(ACTIVE(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_active(cons_s(cons_mark(z0)))) -> c2(ACTIVE(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_active(cons_s(cons_from(z0)))) -> c2(ACTIVE(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_active(cons_s(cons_cons(z0, z1)))) -> c2(ACTIVE(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_active(cons_s(cons_s(z0)))) -> c2(ACTIVE(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_active(cons_s(cons_first(z0, z1)))) -> c2(ACTIVE(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_active(cons_s(cons_sel(z0, z1)))) -> c2(ACTIVE(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(x0, 0))) -> c2(ACTIVE(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_active(cons_first(x0, nil))) -> c2(ACTIVE(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_active(cons_first(x0, cons_active(z0)))) -> c2(ACTIVE(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_active(cons_first(x0, cons_mark(z0)))) -> c2(ACTIVE(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_active(cons_first(x0, cons_from(z0)))) -> c2(ACTIVE(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_active(cons_first(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_s(z0)))) -> c2(ACTIVE(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_active(cons_first(x0, cons_first(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_first(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_first(0, x1))) -> c2(ACTIVE(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_active(cons_first(nil, x1))) -> c2(ACTIVE(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_active(cons_first(cons_active(z0), x1))) -> c2(ACTIVE(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_active(cons_first(cons_mark(z0), x1))) -> c2(ACTIVE(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_active(cons_first(cons_from(z0), x1))) -> c2(ACTIVE(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_active(cons_first(cons_cons(z0, z1), x1))) -> c2(ACTIVE(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_s(z0), x1))) -> c2(ACTIVE(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_active(cons_first(cons_first(z0, z1), x1))) -> c2(ACTIVE(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_first(cons_sel(z0, z1), x1))) -> c2(ACTIVE(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_active(cons_sel(x0, 0))) -> c2(ACTIVE(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_active(cons_sel(x0, nil))) -> c2(ACTIVE(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_active(cons_sel(x0, cons_active(z0)))) -> c2(ACTIVE(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_active(cons_sel(x0, cons_mark(z0)))) -> c2(ACTIVE(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_active(cons_sel(x0, cons_from(z0)))) -> c2(ACTIVE(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_active(cons_sel(x0, cons_cons(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_s(z0)))) -> c2(ACTIVE(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_active(cons_sel(x0, cons_first(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_active(cons_sel(x0, cons_sel(z0, z1)))) -> c2(ACTIVE(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_active(cons_sel(0, x1))) -> c2(ACTIVE(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_active(cons_sel(nil, x1))) -> c2(ACTIVE(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_active(cons_sel(cons_active(z0), x1))) -> c2(ACTIVE(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_active(cons_sel(cons_mark(z0), x1))) -> c2(ACTIVE(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_active(cons_sel(cons_from(z0), x1))) -> c2(ACTIVE(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_active(cons_sel(cons_cons(z0, z1), x1))) -> c2(ACTIVE(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_s(z0), x1))) -> c2(ACTIVE(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_active(cons_sel(cons_first(z0, z1), x1))) -> c2(ACTIVE(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_active(cons_sel(cons_sel(z0, z1), x1))) -> c2(ACTIVE(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_mark(cons_active(cons_active(z0)))) -> c3(MARK(active(active(encArg(z0)))), ENCARG(cons_active(cons_active(z0)))) ENCARG(cons_mark(cons_active(cons_mark(z0)))) -> c3(MARK(active(mark(encArg(z0)))), ENCARG(cons_active(cons_mark(z0)))) ENCARG(cons_mark(cons_active(cons_from(z0)))) -> c3(MARK(active(from(encArg(z0)))), ENCARG(cons_active(cons_from(z0)))) ENCARG(cons_mark(cons_active(cons_cons(z0, z1)))) -> c3(MARK(active(cons(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_active(cons_s(z0)))) -> c3(MARK(active(s(encArg(z0)))), ENCARG(cons_active(cons_s(z0)))) ENCARG(cons_mark(cons_active(cons_first(z0, z1)))) -> c3(MARK(active(first(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_first(z0, z1)))) ENCARG(cons_mark(cons_active(cons_sel(z0, z1)))) -> c3(MARK(active(sel(encArg(z0), encArg(z1)))), ENCARG(cons_active(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_active(z0)))) -> c3(MARK(mark(active(encArg(z0)))), ENCARG(cons_mark(cons_active(z0)))) ENCARG(cons_mark(cons_mark(cons_mark(z0)))) -> c3(MARK(mark(mark(encArg(z0)))), ENCARG(cons_mark(cons_mark(z0)))) ENCARG(cons_mark(cons_mark(cons_from(z0)))) -> c3(MARK(mark(from(encArg(z0)))), ENCARG(cons_mark(cons_from(z0)))) ENCARG(cons_mark(cons_mark(cons_cons(z0, z1)))) -> c3(MARK(mark(cons(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_cons(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_s(z0)))) -> c3(MARK(mark(s(encArg(z0)))), ENCARG(cons_mark(cons_s(z0)))) ENCARG(cons_mark(cons_mark(cons_first(z0, z1)))) -> c3(MARK(mark(first(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_first(z0, z1)))) ENCARG(cons_mark(cons_mark(cons_sel(z0, z1)))) -> c3(MARK(mark(sel(encArg(z0), encArg(z1)))), ENCARG(cons_mark(cons_sel(z0, z1)))) ENCARG(cons_mark(cons_mark(0))) -> c9(MARK(mark(0))) ENCARG(cons_mark(cons_mark(0))) -> c9(ENCARG(cons_mark(0))) ENCARG(cons_mark(cons_mark(nil))) -> c9(MARK(mark(nil))) ENCARG(cons_mark(cons_mark(nil))) -> c9(ENCARG(cons_mark(nil))) ENCARG(cons_from(cons_from(cons_active(z0)))) -> c4(FROM(from(active(encArg(z0)))), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_from(cons_from(cons_mark(z0)))) -> c4(FROM(from(mark(encArg(z0)))), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_from(cons_from(cons_from(z0)))) -> c4(FROM(from(from(encArg(z0)))), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_from(cons_from(cons_cons(z0, z1)))) -> c4(FROM(from(cons(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_from(cons_from(cons_s(z0)))) -> c4(FROM(from(s(encArg(z0)))), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_from(cons_from(cons_first(z0, z1)))) -> c4(FROM(from(first(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_from(cons_from(cons_sel(z0, z1)))) -> c4(FROM(from(sel(encArg(z0), encArg(z1)))), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(x0, 0))) -> c4(FROM(cons(encArg(x0), 0)), ENCARG(cons_cons(x0, 0))) ENCARG(cons_from(cons_cons(x0, nil))) -> c4(FROM(cons(encArg(x0), nil)), ENCARG(cons_cons(x0, nil))) ENCARG(cons_from(cons_cons(x0, cons_active(z0)))) -> c4(FROM(cons(encArg(x0), active(encArg(z0)))), ENCARG(cons_cons(x0, cons_active(z0)))) ENCARG(cons_from(cons_cons(x0, cons_mark(z0)))) -> c4(FROM(cons(encArg(x0), mark(encArg(z0)))), ENCARG(cons_cons(x0, cons_mark(z0)))) ENCARG(cons_from(cons_cons(x0, cons_from(z0)))) -> c4(FROM(cons(encArg(x0), from(encArg(z0)))), ENCARG(cons_cons(x0, cons_from(z0)))) ENCARG(cons_from(cons_cons(x0, cons_cons(z0, z1)))) -> c4(FROM(cons(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_s(z0)))) -> c4(FROM(cons(encArg(x0), s(encArg(z0)))), ENCARG(cons_cons(x0, cons_s(z0)))) ENCARG(cons_from(cons_cons(x0, cons_first(z0, z1)))) -> c4(FROM(cons(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_cons(x0, cons_sel(z0, z1)))) -> c4(FROM(cons(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_cons(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_cons(0, x1))) -> c4(FROM(cons(0, encArg(x1))), ENCARG(cons_cons(0, x1))) ENCARG(cons_from(cons_cons(nil, x1))) -> c4(FROM(cons(nil, encArg(x1))), ENCARG(cons_cons(nil, x1))) ENCARG(cons_from(cons_cons(cons_active(z0), x1))) -> c4(FROM(cons(active(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_active(z0), x1))) ENCARG(cons_from(cons_cons(cons_mark(z0), x1))) -> c4(FROM(cons(mark(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_mark(z0), x1))) ENCARG(cons_from(cons_cons(cons_from(z0), x1))) -> c4(FROM(cons(from(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_from(z0), x1))) ENCARG(cons_from(cons_cons(cons_cons(z0, z1), x1))) -> c4(FROM(cons(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_s(z0), x1))) -> c4(FROM(cons(s(encArg(z0)), encArg(x1))), ENCARG(cons_cons(cons_s(z0), x1))) ENCARG(cons_from(cons_cons(cons_first(z0, z1), x1))) -> c4(FROM(cons(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_cons(cons_sel(z0, z1), x1))) -> c4(FROM(cons(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_cons(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_s(cons_active(z0)))) -> c4(FROM(s(active(encArg(z0)))), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_from(cons_s(cons_mark(z0)))) -> c4(FROM(s(mark(encArg(z0)))), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_from(cons_s(cons_from(z0)))) -> c4(FROM(s(from(encArg(z0)))), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_from(cons_s(cons_cons(z0, z1)))) -> c4(FROM(s(cons(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_from(cons_s(cons_s(z0)))) -> c4(FROM(s(s(encArg(z0)))), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_from(cons_s(cons_first(z0, z1)))) -> c4(FROM(s(first(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_from(cons_s(cons_sel(z0, z1)))) -> c4(FROM(s(sel(encArg(z0), encArg(z1)))), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(x0, 0))) -> c4(FROM(first(encArg(x0), 0)), ENCARG(cons_first(x0, 0))) ENCARG(cons_from(cons_first(x0, nil))) -> c4(FROM(first(encArg(x0), nil)), ENCARG(cons_first(x0, nil))) ENCARG(cons_from(cons_first(x0, cons_active(z0)))) -> c4(FROM(first(encArg(x0), active(encArg(z0)))), ENCARG(cons_first(x0, cons_active(z0)))) ENCARG(cons_from(cons_first(x0, cons_mark(z0)))) -> c4(FROM(first(encArg(x0), mark(encArg(z0)))), ENCARG(cons_first(x0, cons_mark(z0)))) ENCARG(cons_from(cons_first(x0, cons_from(z0)))) -> c4(FROM(first(encArg(x0), from(encArg(z0)))), ENCARG(cons_first(x0, cons_from(z0)))) ENCARG(cons_from(cons_first(x0, cons_cons(z0, z1)))) -> c4(FROM(first(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_s(z0)))) -> c4(FROM(first(encArg(x0), s(encArg(z0)))), ENCARG(cons_first(x0, cons_s(z0)))) ENCARG(cons_from(cons_first(x0, cons_first(z0, z1)))) -> c4(FROM(first(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_first(x0, cons_sel(z0, z1)))) -> c4(FROM(first(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_first(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_first(0, x1))) -> c4(FROM(first(0, encArg(x1))), ENCARG(cons_first(0, x1))) ENCARG(cons_from(cons_first(nil, x1))) -> c4(FROM(first(nil, encArg(x1))), ENCARG(cons_first(nil, x1))) ENCARG(cons_from(cons_first(cons_active(z0), x1))) -> c4(FROM(first(active(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_active(z0), x1))) ENCARG(cons_from(cons_first(cons_mark(z0), x1))) -> c4(FROM(first(mark(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_mark(z0), x1))) ENCARG(cons_from(cons_first(cons_from(z0), x1))) -> c4(FROM(first(from(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_from(z0), x1))) ENCARG(cons_from(cons_first(cons_cons(z0, z1), x1))) -> c4(FROM(first(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_s(z0), x1))) -> c4(FROM(first(s(encArg(z0)), encArg(x1))), ENCARG(cons_first(cons_s(z0), x1))) ENCARG(cons_from(cons_first(cons_first(z0, z1), x1))) -> c4(FROM(first(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_first(cons_sel(z0, z1), x1))) -> c4(FROM(first(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_first(cons_sel(z0, z1), x1))) ENCARG(cons_from(cons_sel(x0, 0))) -> c4(FROM(sel(encArg(x0), 0)), ENCARG(cons_sel(x0, 0))) ENCARG(cons_from(cons_sel(x0, nil))) -> c4(FROM(sel(encArg(x0), nil)), ENCARG(cons_sel(x0, nil))) ENCARG(cons_from(cons_sel(x0, cons_active(z0)))) -> c4(FROM(sel(encArg(x0), active(encArg(z0)))), ENCARG(cons_sel(x0, cons_active(z0)))) ENCARG(cons_from(cons_sel(x0, cons_mark(z0)))) -> c4(FROM(sel(encArg(x0), mark(encArg(z0)))), ENCARG(cons_sel(x0, cons_mark(z0)))) ENCARG(cons_from(cons_sel(x0, cons_from(z0)))) -> c4(FROM(sel(encArg(x0), from(encArg(z0)))), ENCARG(cons_sel(x0, cons_from(z0)))) ENCARG(cons_from(cons_sel(x0, cons_cons(z0, z1)))) -> c4(FROM(sel(encArg(x0), cons(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_cons(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_s(z0)))) -> c4(FROM(sel(encArg(x0), s(encArg(z0)))), ENCARG(cons_sel(x0, cons_s(z0)))) ENCARG(cons_from(cons_sel(x0, cons_first(z0, z1)))) -> c4(FROM(sel(encArg(x0), first(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_first(z0, z1)))) ENCARG(cons_from(cons_sel(x0, cons_sel(z0, z1)))) -> c4(FROM(sel(encArg(x0), sel(encArg(z0), encArg(z1)))), ENCARG(cons_sel(x0, cons_sel(z0, z1)))) ENCARG(cons_from(cons_sel(0, x1))) -> c4(FROM(sel(0, encArg(x1))), ENCARG(cons_sel(0, x1))) ENCARG(cons_from(cons_sel(nil, x1))) -> c4(FROM(sel(nil, encArg(x1))), ENCARG(cons_sel(nil, x1))) ENCARG(cons_from(cons_sel(cons_active(z0), x1))) -> c4(FROM(sel(active(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_active(z0), x1))) ENCARG(cons_from(cons_sel(cons_mark(z0), x1))) -> c4(FROM(sel(mark(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_mark(z0), x1))) ENCARG(cons_from(cons_sel(cons_from(z0), x1))) -> c4(FROM(sel(from(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_from(z0), x1))) ENCARG(cons_from(cons_sel(cons_cons(z0, z1), x1))) -> c4(FROM(sel(cons(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_cons(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_s(z0), x1))) -> c4(FROM(sel(s(encArg(z0)), encArg(x1))), ENCARG(cons_sel(cons_s(z0), x1))) ENCARG(cons_from(cons_sel(cons_first(z0, z1), x1))) -> c4(FROM(sel(first(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_first(z0, z1), x1))) ENCARG(cons_from(cons_sel(cons_sel(z0, z1), x1))) -> c4(FROM(sel(sel(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_sel(cons_sel(z0, z1), x1))) ENCARG(cons_cons(x0, cons_from(cons_active(z0)))) -> c5(CONS(encArg(x0), from(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_active(z0)))) ENCARG(cons_cons(x0, cons_from(cons_mark(z0)))) -> c5(CONS(encArg(x0), from(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_from(cons_from(z0)))) -> c5(CONS(encArg(x0), from(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_from(z0)))) ENCARG(cons_cons(x0, cons_from(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), from(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_s(z0)))) -> c5(CONS(encArg(x0), from(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_from(cons_s(z0)))) ENCARG(cons_cons(x0, cons_from(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), from(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_from(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), from(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_from(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_from(x1))) -> c5(CONS(active(encArg(z0)), from(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_mark(z0), cons_from(x1))) -> c5(CONS(mark(encArg(z0)), from(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_from(z0), cons_from(x1))) -> c5(CONS(from(encArg(z0)), from(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_from(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_s(z0), cons_from(x1))) -> c5(CONS(s(encArg(z0)), from(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_from(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_from(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), from(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_from(0))) -> c5(CONS(encArg(x0), from(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_from(nil))) -> c5(CONS(encArg(x0), from(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_from(x1))) -> c5(CONS(0, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(nil, cons_from(x1))) -> c5(CONS(nil, from(encArg(x1))), ENCARG(cons_from(x1))) ENCARG(cons_cons(x0, cons_cons(x1, 0))) -> c5(CONS(encArg(x0), cons(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_cons(x1, 0))) ENCARG(cons_cons(x0, cons_cons(x1, nil))) -> c5(CONS(encArg(x0), cons(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_cons(x1, nil))) ENCARG(cons_cons(x0, cons_cons(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), cons(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), cons(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_cons(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_cons(0, x2))) -> c5(CONS(encArg(x0), cons(0, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(0, x2))) ENCARG(cons_cons(x0, cons_cons(nil, x2))) -> c5(CONS(encArg(x0), cons(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_cons(nil, x2))) ENCARG(cons_cons(x0, cons_cons(cons_active(z0), x2))) -> c5(CONS(encArg(x0), cons(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), cons(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_from(z0), x2))) -> c5(CONS(encArg(x0), cons(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_s(z0), x2))) -> c5(CONS(encArg(x0), cons(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_cons(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_cons(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), cons(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_cons(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_cons(x1, x2))) -> c5(CONS(active(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_cons(x1, x2))) -> c5(CONS(mark(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_cons(x1, x2))) -> c5(CONS(from(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_cons(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_cons(x1, x2))) -> c5(CONS(s(encArg(z0)), cons(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_cons(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_cons(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), cons(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(0, cons_cons(x1, x2))) -> c5(CONS(0, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(nil, cons_cons(x1, x2))) -> c5(CONS(nil, cons(encArg(x1), encArg(x2))), ENCARG(cons_cons(x1, x2))) ENCARG(cons_cons(x0, cons_s(cons_active(z0)))) -> c5(CONS(encArg(x0), s(active(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_active(z0)))) ENCARG(cons_cons(x0, cons_s(cons_mark(z0)))) -> c5(CONS(encArg(x0), s(mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_mark(z0)))) ENCARG(cons_cons(x0, cons_s(cons_from(z0)))) -> c5(CONS(encArg(x0), s(from(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_from(z0)))) ENCARG(cons_cons(x0, cons_s(cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), s(cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_s(z0)))) -> c5(CONS(encArg(x0), s(s(encArg(z0)))), ENCARG(x0), ENCARG(cons_s(cons_s(z0)))) ENCARG(cons_cons(x0, cons_s(cons_first(z0, z1)))) -> c5(CONS(encArg(x0), s(first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_s(cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), s(sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_s(cons_sel(z0, z1)))) ENCARG(cons_cons(cons_active(z0), cons_s(x1))) -> c5(CONS(active(encArg(z0)), s(encArg(x1))), ENCARG(cons_active(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_mark(z0), cons_s(x1))) -> c5(CONS(mark(encArg(z0)), s(encArg(x1))), ENCARG(cons_mark(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_from(z0), cons_s(x1))) -> c5(CONS(from(encArg(z0)), s(encArg(x1))), ENCARG(cons_from(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_cons(z0, z1), cons_s(x1))) -> c5(CONS(cons(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_s(z0), cons_s(x1))) -> c5(CONS(s(encArg(z0)), s(encArg(x1))), ENCARG(cons_s(z0)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_first(z0, z1), cons_s(x1))) -> c5(CONS(first(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_first(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(cons_sel(z0, z1), cons_s(x1))) -> c5(CONS(sel(encArg(z0), encArg(z1)), s(encArg(x1))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_s(0))) -> c5(CONS(encArg(x0), s(0)), ENCARG(x0)) ENCARG(cons_cons(x0, cons_s(nil))) -> c5(CONS(encArg(x0), s(nil)), ENCARG(x0)) ENCARG(cons_cons(0, cons_s(x1))) -> c5(CONS(0, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(nil, cons_s(x1))) -> c5(CONS(nil, s(encArg(x1))), ENCARG(cons_s(x1))) ENCARG(cons_cons(x0, cons_first(x1, 0))) -> c5(CONS(encArg(x0), first(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_first(x1, 0))) ENCARG(cons_cons(x0, cons_first(x1, nil))) -> c5(CONS(encArg(x0), first(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_first(x1, nil))) ENCARG(cons_cons(x0, cons_first(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), first(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_first(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_first(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_first(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), first(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_first(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_first(0, x2))) -> c5(CONS(encArg(x0), first(0, encArg(x2))), ENCARG(x0), ENCARG(cons_first(0, x2))) ENCARG(cons_cons(x0, cons_first(nil, x2))) -> c5(CONS(encArg(x0), first(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_first(nil, x2))) ENCARG(cons_cons(x0, cons_first(cons_active(z0), x2))) -> c5(CONS(encArg(x0), first(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), first(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_from(z0), x2))) -> c5(CONS(encArg(x0), first(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), first(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_s(z0), x2))) -> c5(CONS(encArg(x0), first(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_first(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), first(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_first(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), first(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_first(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_first(x1, x2))) -> c5(CONS(active(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_first(x1, x2))) -> c5(CONS(mark(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_first(x1, x2))) -> c5(CONS(from(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_first(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_first(x1, x2))) -> c5(CONS(s(encArg(z0)), first(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_first(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_first(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), first(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(0, cons_first(x1, x2))) -> c5(CONS(0, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(nil, cons_first(x1, x2))) -> c5(CONS(nil, first(encArg(x1), encArg(x2))), ENCARG(cons_first(x1, x2))) ENCARG(cons_cons(x0, cons_sel(x1, 0))) -> c5(CONS(encArg(x0), sel(encArg(x1), 0)), ENCARG(x0), ENCARG(cons_sel(x1, 0))) ENCARG(cons_cons(x0, cons_sel(x1, nil))) -> c5(CONS(encArg(x0), sel(encArg(x1), nil)), ENCARG(x0), ENCARG(cons_sel(x1, nil))) ENCARG(cons_cons(x0, cons_sel(x1, cons_active(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), active(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_active(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_mark(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), mark(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_mark(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_from(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), from(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_from(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_cons(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), cons(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_cons(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_s(z0)))) -> c5(CONS(encArg(x0), sel(encArg(x1), s(encArg(z0)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_s(z0)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_first(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), first(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_first(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(x1, cons_sel(z0, z1)))) -> c5(CONS(encArg(x0), sel(encArg(x1), sel(encArg(z0), encArg(z1)))), ENCARG(x0), ENCARG(cons_sel(x1, cons_sel(z0, z1)))) ENCARG(cons_cons(x0, cons_sel(0, x2))) -> c5(CONS(encArg(x0), sel(0, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(0, x2))) ENCARG(cons_cons(x0, cons_sel(nil, x2))) -> c5(CONS(encArg(x0), sel(nil, encArg(x2))), ENCARG(x0), ENCARG(cons_sel(nil, x2))) ENCARG(cons_cons(x0, cons_sel(cons_active(z0), x2))) -> c5(CONS(encArg(x0), sel(active(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_active(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_mark(z0), x2))) -> c5(CONS(encArg(x0), sel(mark(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_mark(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_from(z0), x2))) -> c5(CONS(encArg(x0), sel(from(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_from(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_cons(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(cons(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_cons(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_s(z0), x2))) -> c5(CONS(encArg(x0), sel(s(encArg(z0)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_s(z0), x2))) ENCARG(cons_cons(x0, cons_sel(cons_first(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(first(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_first(z0, z1), x2))) ENCARG(cons_cons(x0, cons_sel(cons_sel(z0, z1), x2))) -> c5(CONS(encArg(x0), sel(sel(encArg(z0), encArg(z1)), encArg(x2))), ENCARG(x0), ENCARG(cons_sel(cons_sel(z0, z1), x2))) ENCARG(cons_cons(cons_active(z0), cons_sel(x1, x2))) -> c5(CONS(active(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_active(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_mark(z0), cons_sel(x1, x2))) -> c5(CONS(mark(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_mark(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(z0), cons_sel(x1, x2))) -> c5(CONS(from(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_from(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_cons(z0, z1), cons_sel(x1, x2))) -> c5(CONS(cons(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_cons(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_s(z0), cons_sel(x1, x2))) -> c5(CONS(s(encArg(z0)), sel(encArg(x1), encArg(x2))), ENCARG(cons_s(z0)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_first(z0, z1), cons_sel(x1, x2))) -> c5(CONS(first(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_first(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_sel(z0, z1), cons_sel(x1, x2))) -> c5(CONS(sel(encArg(z0), encArg(z1)), sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(z0, z1)), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(0, cons_sel(x1, x2))) -> c5(CONS(0, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(nil, cons_sel(x1, x2))) -> c5(CONS(nil, sel(encArg(x1), encArg(x2))), ENCARG(cons_sel(x1, x2))) ENCARG(cons_cons(cons_from(x0), cons_active(z0))) -> c5(CONS(from(encArg(x0)), active(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_from(x0), cons_mark(z0))) -> c5(CONS(from(encArg(x0)), mark(encArg(z0))), ENCARG(cons_from(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_from(cons_active(z0)), x1)) -> c5(CONS(from(active(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_mark(z0)), x1)) -> c5(CONS(from(mark(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_from(z0)), x1)) -> c5(CONS(from(from(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_cons(z0, z1)), x1)) -> c5(CONS(from(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_s(z0)), x1)) -> c5(CONS(from(s(encArg(z0))), encArg(x1)), ENCARG(cons_from(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_first(z0, z1)), x1)) -> c5(CONS(from(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(cons_sel(z0, z1)), x1)) -> c5(CONS(from(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_from(cons_sel(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_from(x0), 0)) -> c5(CONS(from(encArg(x0)), 0), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(x0), nil)) -> c5(CONS(from(encArg(x0)), nil), ENCARG(cons_from(x0))) ENCARG(cons_cons(cons_from(0), x1)) -> c5(CONS(from(0), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_from(nil), x1)) -> c5(CONS(from(nil), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_cons(x0, x1), cons_active(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), active(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_cons(x0, x1), cons_mark(z0))) -> c5(CONS(cons(encArg(x0), encArg(x1)), mark(encArg(z0))), ENCARG(cons_cons(x0, x1)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_cons(x0, 0), x2)) -> c5(CONS(cons(encArg(x0), 0), encArg(x2)), ENCARG(cons_cons(x0, 0)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, nil), x2)) -> c5(CONS(cons(encArg(x0), nil), encArg(x2)), ENCARG(cons_cons(x0, nil)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_active(z0)), x2)) -> c5(CONS(cons(encArg(x0), active(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_active(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_mark(z0)), x2)) -> c5(CONS(cons(encArg(x0), mark(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_mark(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_from(z0)), x2)) -> c5(CONS(cons(encArg(x0), from(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_from(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_cons(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), cons(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_cons(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_s(z0)), x2)) -> c5(CONS(cons(encArg(x0), s(encArg(z0))), encArg(x2)), ENCARG(cons_cons(x0, cons_s(z0))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_first(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), first(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_first(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, cons_sel(z0, z1)), x2)) -> c5(CONS(cons(encArg(x0), sel(encArg(z0), encArg(z1))), encArg(x2)), ENCARG(cons_cons(x0, cons_sel(z0, z1))), ENCARG(x2)) ENCARG(cons_cons(cons_cons(0, x1), x2)) -> c5(CONS(cons(0, encArg(x1)), encArg(x2)), ENCARG(cons_cons(0, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(nil, x1), x2)) -> c5(CONS(cons(nil, encArg(x1)), encArg(x2)), ENCARG(cons_cons(nil, x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_active(z0), x1), x2)) -> c5(CONS(cons(active(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_active(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_mark(z0), x1), x2)) -> c5(CONS(cons(mark(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_mark(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_from(z0), x1), x2)) -> c5(CONS(cons(from(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_from(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_cons(z0, z1), x1), x2)) -> c5(CONS(cons(cons(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_cons(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_s(z0), x1), x2)) -> c5(CONS(cons(s(encArg(z0)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_s(z0), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_first(z0, z1), x1), x2)) -> c5(CONS(cons(first(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_first(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(cons_sel(z0, z1), x1), x2)) -> c5(CONS(cons(sel(encArg(z0), encArg(z1)), encArg(x1)), encArg(x2)), ENCARG(cons_cons(cons_sel(z0, z1), x1)), ENCARG(x2)) ENCARG(cons_cons(cons_cons(x0, x1), 0)) -> c5(CONS(cons(encArg(x0), encArg(x1)), 0), ENCARG(cons_cons(x0, x1))) ENCARG(cons_cons(cons_cons(x0, x1), nil)) -> c5(CONS(cons(encArg(x0), encArg(x1)), nil), ENCARG(cons_cons(x0, x1))) ENCARG(cons_cons(cons_s(x0), cons_active(z0))) -> c5(CONS(s(encArg(x0)), active(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_active(z0))) ENCARG(cons_cons(cons_s(x0), cons_mark(z0))) -> c5(CONS(s(encArg(x0)), mark(encArg(z0))), ENCARG(cons_s(x0)), ENCARG(cons_mark(z0))) ENCARG(cons_cons(cons_s(cons_active(z0)), x1)) -> c5(CONS(s(active(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_active(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_mark(z0)), x1)) -> c5(CONS(s(mark(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_mark(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_from(z0)), x1)) -> c5(CONS(s(from(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_from(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_cons(z0, z1)), x1)) -> c5(CONS(s(cons(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_cons(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_s(z0)), x1)) -> c5(CONS(s(s(encArg(z0))), encArg(x1)), ENCARG(cons_s(cons_s(z0))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_first(z0, z1)), x1)) -> c5(CONS(s(first(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_first(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(cons_sel(z0, z1)), x1)) -> c5(CONS(s(sel(encArg(z0), encArg(z1))), encArg(x1)), ENCARG(cons_s(cons_sel(z0, z1))), ENCARG(x1)) ENCARG(cons_cons(cons_s(x0), 0)) -> c5(CONS(s(encArg(x0)), 0), ENCARG(cons_s(x0))) ENCARG(cons_cons(cons_s(x0), nil)) -> c5(CONS(s(encArg(x0)), nil), ENCARG(cons_s(x0))) ENCARG(cons_cons(cons_s(0), x1)) -> c5(CONS(s(0), encArg(x1)), ENCARG(x1)) ENCARG(cons_cons(cons_s(nil), x1)) -> c5(CONS(s(nil), encArg(x1)), ENCARG(x1)) S tuples: ACTIVE(first(0, z0)) -> c19(MARK(nil)) ACTIVE(first(s(z0), cons(z1, z2))) -> c20(MARK(cons(z1, first(z0, z2))), CONS(z1, first(z0, z2)), FIRST(z0, z2)) ACTIVE(sel(0, cons(z0, z1))) -> c21(MARK(z0)) ACTIVE(sel(s(z0), cons(z1, z2))) -> c22(MARK(sel(z0, z2)), SEL(z0, z2)) FROM(mark(z0)) -> c30(FROM(z0)) FROM(active(z0)) -> c31(FROM(z0)) CONS(mark(z0), z1) -> c32(CONS(z0, z1)) CONS(z0, mark(z1)) -> c33(CONS(z0, z1)) CONS(active(z0), z1) -> c34(CONS(z0, z1)) CONS(z0, active(z1)) -> c35(CONS(z0, z1)) S(mark(z0)) -> c36(S(z0)) S(active(z0)) -> c37(S(z0)) FIRST(mark(z0), z1) -> c38(FIRST(z0, z1)) FIRST(z0, mark(z1)) -> c39(FIRST(z0, z1)) FIRST(active(z0), z1) -> c40(FIRST(z0, z1)) FIRST(z0, active(z1)) -> c41(FIRST(z0, z1)) SEL(mark(z0), z1) -> c42(SEL(z0, z1)) SEL(z0, mark(z1)) -> c43(SEL(z0, z1)) SEL(active(z0), z1) -> c44(SEL(z0, z1)) SEL(z0, active(z1)) -> c45(SEL(z0, z1)) ACTIVE(from(z0)) -> c18(MARK(cons(z0, from(s(z0)))), S(z0)) MARK(0) -> c27 MARK(nil) -> c28 MARK(from(z0)) -> c23(ACTIVE(from(z0)), FROM(mark(z0)), MARK(z0)) MARK(from(from(z0))) -> c23(ACTIVE(from(active(from(mark(z0))))), FROM(mark(from(z0))), MARK(from(z0))) MARK(from(cons(z0, z1))) -> c23(ACTIVE(from(active(cons(mark(z0), z1)))), FROM(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(from(s(z0))) -> c23(ACTIVE(from(active(s(mark(z0))))), FROM(mark(s(z0))), MARK(s(z0))) MARK(from(first(z0, z1))) -> c23(ACTIVE(from(active(first(mark(z0), mark(z1))))), FROM(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(from(0)) -> c23(ACTIVE(from(active(0))), FROM(mark(0)), MARK(0)) MARK(from(nil)) -> c23(ACTIVE(from(active(nil))), FROM(mark(nil)), MARK(nil)) MARK(from(sel(z0, z1))) -> c23(ACTIVE(from(active(sel(mark(z0), mark(z1))))), FROM(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(cons(from(z0), x1)) -> c24(ACTIVE(cons(active(from(mark(z0))), x1)), CONS(mark(from(z0)), x1), MARK(from(z0))) MARK(cons(cons(z0, z1), x1)) -> c24(ACTIVE(cons(active(cons(mark(z0), z1)), x1)), CONS(mark(cons(z0, z1)), x1), MARK(cons(z0, z1))) MARK(cons(s(z0), x1)) -> c24(ACTIVE(cons(active(s(mark(z0))), x1)), CONS(mark(s(z0)), x1), MARK(s(z0))) MARK(cons(first(z0, z1), x1)) -> c24(ACTIVE(cons(active(first(mark(z0), mark(z1))), x1)), CONS(mark(first(z0, z1)), x1), MARK(first(z0, z1))) MARK(cons(0, x1)) -> c24(ACTIVE(cons(active(0), x1)), CONS(mark(0), x1), MARK(0)) MARK(cons(nil, x1)) -> c24(ACTIVE(cons(active(nil), x1)), CONS(mark(nil), x1), MARK(nil)) MARK(cons(sel(z0, z1), x1)) -> c24(ACTIVE(cons(active(sel(mark(z0), mark(z1))), x1)), CONS(mark(sel(z0, z1)), x1), MARK(sel(z0, z1))) MARK(cons(x0, x1)) -> c24(CONS(mark(x0), x1)) MARK(cons(z0, z1)) -> c24(CONS(mark(z0), z1), MARK(z0)) MARK(s(from(z0))) -> c25(ACTIVE(s(active(from(mark(z0))))), S(mark(from(z0))), MARK(from(z0))) MARK(s(cons(z0, z1))) -> c25(ACTIVE(s(active(cons(mark(z0), z1)))), S(mark(cons(z0, z1))), MARK(cons(z0, z1))) MARK(s(s(z0))) -> c25(ACTIVE(s(active(s(mark(z0))))), S(mark(s(z0))), MARK(s(z0))) MARK(s(first(z0, z1))) -> c25(ACTIVE(s(active(first(mark(z0), mark(z1))))), S(mark(first(z0, z1))), MARK(first(z0, z1))) MARK(s(0)) -> c25(ACTIVE(s(active(0))), S(mark(0)), MARK(0)) MARK(s(nil)) -> c25(ACTIVE(s(active(nil))), S(mark(nil)), MARK(nil)) MARK(s(sel(z0, z1))) -> c25(ACTIVE(s(active(sel(mark(z0), mark(z1))))), S(mark(sel(z0, z1))), MARK(sel(z0, z1))) MARK(s(z0)) -> c25(S(mark(z0)), MARK(z0)) MARK(first(z0, x1)) -> c26(ACTIVE(first(z0, mark(x1))), FIRST(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(first(x0, z1)) -> c26(ACTIVE(first(mark(x0), z1)), FIRST(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(first(x0, from(z0))) -> c26(ACTIVE(first(mark(x0), active(from(mark(z0))))), FIRST(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(first(x0, cons(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(cons(mark(z0), z1)))), FIRST(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(first(x0, s(z0))) -> c26(ACTIVE(first(mark(x0), active(s(mark(z0))))), FIRST(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(first(x0, first(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(first(mark(z0), mark(z1))))), FIRST(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(first(x0, 0)) -> c26(ACTIVE(first(mark(x0), active(0))), FIRST(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(first(x0, nil)) -> c26(ACTIVE(first(mark(x0), active(nil))), FIRST(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(first(x0, sel(z0, z1))) -> c26(ACTIVE(first(mark(x0), active(sel(mark(z0), mark(z1))))), FIRST(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(first(from(z0), x1)) -> c26(ACTIVE(first(active(from(mark(z0))), mark(x1))), FIRST(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(first(cons(z0, z1), x1)) -> c26(ACTIVE(first(active(cons(mark(z0), z1)), mark(x1))), FIRST(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(first(s(z0), x1)) -> c26(ACTIVE(first(active(s(mark(z0))), mark(x1))), FIRST(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(first(first(z0, z1), x1)) -> c26(ACTIVE(first(active(first(mark(z0), mark(z1))), mark(x1))), FIRST(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(first(0, x1)) -> c26(ACTIVE(first(active(0), mark(x1))), FIRST(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(first(nil, x1)) -> c26(ACTIVE(first(active(nil), mark(x1))), FIRST(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(first(sel(z0, z1), x1)) -> c26(ACTIVE(first(active(sel(mark(z0), mark(z1))), mark(x1))), FIRST(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) MARK(sel(z0, x1)) -> c29(ACTIVE(sel(z0, mark(x1))), SEL(mark(z0), mark(x1)), MARK(z0), MARK(x1)) MARK(sel(x0, z1)) -> c29(ACTIVE(sel(mark(x0), z1)), SEL(mark(x0), mark(z1)), MARK(x0), MARK(z1)) MARK(sel(x0, from(z0))) -> c29(ACTIVE(sel(mark(x0), active(from(mark(z0))))), SEL(mark(x0), mark(from(z0))), MARK(x0), MARK(from(z0))) MARK(sel(x0, cons(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(cons(mark(z0), z1)))), SEL(mark(x0), mark(cons(z0, z1))), MARK(x0), MARK(cons(z0, z1))) MARK(sel(x0, s(z0))) -> c29(ACTIVE(sel(mark(x0), active(s(mark(z0))))), SEL(mark(x0), mark(s(z0))), MARK(x0), MARK(s(z0))) MARK(sel(x0, first(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(first(mark(z0), mark(z1))))), SEL(mark(x0), mark(first(z0, z1))), MARK(x0), MARK(first(z0, z1))) MARK(sel(x0, 0)) -> c29(ACTIVE(sel(mark(x0), active(0))), SEL(mark(x0), mark(0)), MARK(x0), MARK(0)) MARK(sel(x0, nil)) -> c29(ACTIVE(sel(mark(x0), active(nil))), SEL(mark(x0), mark(nil)), MARK(x0), MARK(nil)) MARK(sel(x0, sel(z0, z1))) -> c29(ACTIVE(sel(mark(x0), active(sel(mark(z0), mark(z1))))), SEL(mark(x0), mark(sel(z0, z1))), MARK(x0), MARK(sel(z0, z1))) MARK(sel(from(z0), x1)) -> c29(ACTIVE(sel(active(from(mark(z0))), mark(x1))), SEL(mark(from(z0)), mark(x1)), MARK(from(z0)), MARK(x1)) MARK(sel(cons(z0, z1), x1)) -> c29(ACTIVE(sel(active(cons(mark(z0), z1)), mark(x1))), SEL(mark(cons(z0, z1)), mark(x1)), MARK(cons(z0, z1)), MARK(x1)) MARK(sel(s(z0), x1)) -> c29(ACTIVE(sel(active(s(mark(z0))), mark(x1))), SEL(mark(s(z0)), mark(x1)), MARK(s(z0)), MARK(x1)) MARK(sel(first(z0, z1), x1)) -> c29(ACTIVE(sel(active(first(mark(z0), mark(z1))), mark(x1))), SEL(mark(first(z0, z1)), mark(x1)), MARK(first(z0, z1)), MARK(x1)) MARK(sel(0, x1)) -> c29(ACTIVE(sel(active(0), mark(x1))), SEL(mark(0), mark(x1)), MARK(0), MARK(x1)) MARK(sel(nil, x1)) -> c29(ACTIVE(sel(active(nil), mark(x1))), SEL(mark(nil), mark(x1)), MARK(nil), MARK(x1)) MARK(sel(sel(z0, z1), x1)) -> c29(ACTIVE(sel(active(sel(mark(z0), mark(z1))), mark(x1))), SEL(mark(sel(z0, z1)), mark(x1)), MARK(sel(z0, z1)), MARK(x1)) K tuples:none Defined Rule Symbols: encArg_1, active_1, mark_1, from_1, cons_2, s_1, first_2, sel_2 Defined Pair Symbols: ACTIVE_1, FROM_1, CONS_2, S_1, FIRST_2, SEL_2, MARK_1, ENCARG_1, ENCODE_ACTIVE_1, ENCODE_FROM_1, ENCODE_MARK_1, ENCODE_CONS_2, ENCODE_S_1, ENCODE_FIRST_2, ENCODE_SEL_2 Compound Symbols: c19_1, c20_3, c21_1, c22_2, c30_1, c31_1, c32_1, c33_1, c34_1, c35_1, c36_1, c37_1, c38_1, c39_1, c40_1, c41_1, c42_1, c43_1, c44_1, c45_1, c18_2, c27, c28, c2_2, c3_2, c3_1, c4_2, c5_3, c5_2, c6_2, c7_3, c7_2, c8_3, c8_2, c23_3, c24_3, c24_1, c24_2, c25_3, c25_2, c26_4, c29_4, c_1, c1_1, c9_1