/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 (full) 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), 189 ms] (4) CpxRelTRS (5) RelTrsToDecreasingLoopProblemProof [LOWER BOUND(ID), 0 ms] (6) TRS for Loop Detection (7) RenamingProof [BOTH BOUNDS(ID, ID), 0 ms] (8) CpxRelTRS (9) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (10) typed CpxTrs (11) OrderProof [LOWER BOUND(ID), 0 ms] (12) typed CpxTrs (13) RewriteLemmaProof [LOWER BOUND(ID), 2401 ms] (14) BOUNDS(1, INF) (15) RelTrsToTrsProof [UPPER BOUND(ID), 0 ms] (16) CpxTRS (17) NonCtorToCtorProof [UPPER BOUND(ID), 0 ms] (18) CpxRelTRS (19) RcToIrcProof [BOTH BOUNDS(ID, ID), 0 ms] (20) CpxRelTRS (21) RelTrsToWeightedTrsProof [BOTH BOUNDS(ID, ID), 0 ms] (22) CpxWeightedTrs (23) TypeInferenceProof [BOTH BOUNDS(ID, ID), 0 ms] (24) CpxTypedWeightedTrs (25) CompletionProof [UPPER BOUND(ID), 0 ms] (26) CpxTypedWeightedCompleteTrs (27) NarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (28) CpxTypedWeightedCompleteTrs (29) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] (30) CpxRNTS (31) SimplificationProof [BOTH BOUNDS(ID, ID), 0 ms] (32) CpxRNTS (33) CompletionProof [UPPER BOUND(ID), 0 ms] (34) CpxTypedWeightedCompleteTrs (35) CpxTypedWeightedTrsToRntsProof [UPPER BOUND(ID), 0 ms] (36) CpxRNTS (37) CpxTrsToCdtProof [UPPER BOUND(ID), 0 ms] (38) CdtProblem (39) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 2 ms] (40) CdtProblem (41) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (42) CdtProblem (43) CdtGraphSplitRhsProof [BOTH BOUNDS(ID, ID), 0 ms] (44) CdtProblem (45) CdtLeafRemovalProof [ComplexityIfPolyImplication, 0 ms] (46) CdtProblem (47) CdtUsableRulesProof [BOTH BOUNDS(ID, ID), 0 ms] (48) CdtProblem (49) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (50) CdtProblem (51) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (52) CdtProblem (53) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (54) CdtProblem (55) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (56) CdtProblem (57) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (58) CdtProblem (59) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (60) CdtProblem (61) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (62) CdtProblem (63) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (64) CdtProblem (65) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (66) CdtProblem (67) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (68) CdtProblem (69) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (70) CdtProblem (71) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (72) CdtProblem (73) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (74) CdtProblem (75) CdtLeafRemovalProof [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), 0 ms] (82) CdtProblem (83) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (84) CdtProblem (85) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (86) CdtProblem (87) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 1 ms] (88) CdtProblem (89) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (90) CdtProblem (91) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (92) CdtProblem (93) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (94) CdtProblem (95) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (96) CdtProblem (97) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (98) CdtProblem (99) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 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) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (106) CdtProblem (107) CdtNarrowingProof [BOTH BOUNDS(ID, ID), 0 ms] (108) CdtProblem (109) CdtLeafRemovalProof [BOTH BOUNDS(ID, ID), 0 ms] (110) CdtProblem (111) CdtRewritingProof [BOTH BOUNDS(ID, ID), 5 ms] (112) CdtProblem (113) CdtRewritingProof [BOTH BOUNDS(ID, ID), 18 ms] (114) CdtProblem (115) CdtRhsSimplificationProcessorProof [BOTH BOUNDS(ID, ID), 0 ms] (116) CdtProblem (117) CdtRewritingProof [BOTH BOUNDS(ID, ID), 10 ms] (118) CdtProblem ---------------------------------------- (0) Obligation: The Derivational Complexity (full) of the given DCpxTrs could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) S is empty. Rewrite Strategy: FULL ---------------------------------------- (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(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) ---------------------------------------- (2) Obligation: The Runtime Complexity (full) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) The (relative) TRS S consists of the following rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) Rewrite Strategy: FULL ---------------------------------------- (3) SInnermostTerminationProof (BOTH CONCRETE BOUNDS(ID, ID)) proved innermost termination of relative rules ---------------------------------------- (4) Obligation: The Runtime Complexity (full) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) The (relative) TRS S consists of the following rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) Rewrite Strategy: FULL ---------------------------------------- (5) RelTrsToDecreasingLoopProblemProof (LOWER BOUND(ID)) Transformed a relative TRS into a decreasing-loop problem. ---------------------------------------- (6) Obligation: Analyzing the following TRS for decreasing loops: The Runtime Complexity (full) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) The (relative) TRS S consists of the following rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) Rewrite Strategy: FULL ---------------------------------------- (7) RenamingProof (BOTH BOUNDS(ID, ID)) Renamed function symbols to avoid clashes with predefined symbol. ---------------------------------------- (8) Obligation: The Runtime Complexity (full) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) The (relative) TRS S consists of the following rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) Rewrite Strategy: FULL ---------------------------------------- (9) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Infered types. ---------------------------------------- (10) Obligation: TRS: Rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) Types: g :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f a :: a:b:c:e:d:cons_g:cons_f b :: a:b:c:e:d:cons_g:cons_f c :: a:b:c:e:d:cons_g:cons_f e :: a:b:c:e:d:cons_g:cons_f d :: a:b:c:e:d:cons_g:cons_f f :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f encArg :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f cons_g :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f cons_f :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f encode_g :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f encode_a :: a:b:c:e:d:cons_g:cons_f encode_b :: a:b:c:e:d:cons_g:cons_f encode_c :: a:b:c:e:d:cons_g:cons_f encode_e :: a:b:c:e:d:cons_g:cons_f encode_d :: a:b:c:e:d:cons_g:cons_f encode_f :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f hole_a:b:c:e:d:cons_g:cons_f1_0 :: a:b:c:e:d:cons_g:cons_f gen_a:b:c:e:d:cons_g:cons_f2_0 :: Nat -> a:b:c:e:d:cons_g:cons_f ---------------------------------------- (11) OrderProof (LOWER BOUND(ID)) Heuristically decided to analyse the following defined symbols: g, f, encArg They will be analysed ascendingly in the following order: g < f g < encArg f < encArg ---------------------------------------- (12) Obligation: TRS: Rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) Types: g :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f a :: a:b:c:e:d:cons_g:cons_f b :: a:b:c:e:d:cons_g:cons_f c :: a:b:c:e:d:cons_g:cons_f e :: a:b:c:e:d:cons_g:cons_f d :: a:b:c:e:d:cons_g:cons_f f :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f encArg :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f cons_g :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f cons_f :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f encode_g :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f encode_a :: a:b:c:e:d:cons_g:cons_f encode_b :: a:b:c:e:d:cons_g:cons_f encode_c :: a:b:c:e:d:cons_g:cons_f encode_e :: a:b:c:e:d:cons_g:cons_f encode_d :: a:b:c:e:d:cons_g:cons_f encode_f :: a:b:c:e:d:cons_g:cons_f -> a:b:c:e:d:cons_g:cons_f hole_a:b:c:e:d:cons_g:cons_f1_0 :: a:b:c:e:d:cons_g:cons_f gen_a:b:c:e:d:cons_g:cons_f2_0 :: Nat -> a:b:c:e:d:cons_g:cons_f Generator Equations: gen_a:b:c:e:d:cons_g:cons_f2_0(0) <=> a gen_a:b:c:e:d:cons_g:cons_f2_0(+(x, 1)) <=> cons_g(a, gen_a:b:c:e:d:cons_g:cons_f2_0(x)) The following defined symbols remain to be analysed: g, f, encArg They will be analysed ascendingly in the following order: g < f g < encArg f < encArg ---------------------------------------- (13) RewriteLemmaProof (LOWER BOUND(ID)) Proved the following rewrite lemma: encArg(gen_a:b:c:e:d:cons_g:cons_f2_0(n62_0)) -> *3_0, rt in Omega(0) Induction Base: encArg(gen_a:b:c:e:d:cons_g:cons_f2_0(0)) Induction Step: encArg(gen_a:b:c:e:d:cons_g:cons_f2_0(+(n62_0, 1))) ->_R^Omega(0) g(encArg(a), encArg(gen_a:b:c:e:d:cons_g:cons_f2_0(n62_0))) ->_R^Omega(0) g(a, encArg(gen_a:b:c:e:d:cons_g:cons_f2_0(n62_0))) ->_IH g(a, *3_0) We have rt in Omega(1) and sz in O(n). Thus, we have irc_R in Omega(n^0). ---------------------------------------- (14) BOUNDS(1, INF) ---------------------------------------- (15) RelTrsToTrsProof (UPPER BOUND(ID)) transformed relative TRS to TRS ---------------------------------------- (16) Obligation: The Runtime Complexity (full) of the given CpxTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(c, g(c, x)) -> g(e, g(d, x)) g(d, g(d, x)) -> g(c, g(e, x)) g(e, g(e, x)) -> g(d, g(c, x)) f(g(x, y)) -> g(y, g(f(f(x)), a)) encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) S is empty. Rewrite Strategy: FULL ---------------------------------------- (17) NonCtorToCtorProof (UPPER BOUND(ID)) transformed non-ctor to ctor-system ---------------------------------------- (18) Obligation: The Runtime Complexity (full) of the given CpxRelTRS could be proven to be BOUNDS(1, INF). The TRS R consists of the following rules: g(x, x) -> g(a, b) g(e, c_g(e, x)) -> g(d, g(c, x)) g(c, c_g(c, x)) -> g(e, g(d, x)) g(d, c_g(d, x)) -> g(c, g(e, x)) f(c_g(x, y)) -> g(y, g(f(f(x)), a)) The (relative) TRS S consists of the following rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) g(x0, x1) -> c_g(x0, x1) Rewrite Strategy: FULL ---------------------------------------- (19) RcToIrcProof (BOTH BOUNDS(ID, ID)) Converted rc-obligation to irc-obligation. As the TRS is a non-duplicating overlay system, we have rc = irc. ---------------------------------------- (20) 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: g(x, x) -> g(a, b) g(e, c_g(e, x)) -> g(d, g(c, x)) g(c, c_g(c, x)) -> g(e, g(d, x)) g(d, c_g(d, x)) -> g(c, g(e, x)) f(c_g(x, y)) -> g(y, g(f(f(x)), a)) The (relative) TRS S consists of the following rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) encArg(cons_f(x_1)) -> f(encArg(x_1)) encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(x_1) -> f(encArg(x_1)) g(x0, x1) -> c_g(x0, x1) Rewrite Strategy: INNERMOST ---------------------------------------- (21) RelTrsToWeightedTrsProof (BOTH BOUNDS(ID, ID)) Transformed relative TRS to weighted TRS ---------------------------------------- (22) 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: g(x, x) -> g(a, b) [1] g(e, c_g(e, x)) -> g(d, g(c, x)) [1] g(c, c_g(c, x)) -> g(e, g(d, x)) [1] g(d, c_g(d, x)) -> g(c, g(e, x)) [1] f(c_g(x, y)) -> g(y, g(f(f(x)), a)) [1] encArg(a) -> a [0] encArg(b) -> b [0] encArg(c) -> c [0] encArg(e) -> e [0] encArg(d) -> d [0] encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) [0] encArg(cons_f(x_1)) -> f(encArg(x_1)) [0] encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) [0] encode_a -> a [0] encode_b -> b [0] encode_c -> c [0] encode_e -> e [0] encode_d -> d [0] encode_f(x_1) -> f(encArg(x_1)) [0] g(x0, x1) -> c_g(x0, x1) [0] Rewrite Strategy: INNERMOST ---------------------------------------- (23) TypeInferenceProof (BOTH BOUNDS(ID, ID)) Infered types. ---------------------------------------- (24) Obligation: Runtime Complexity Weighted TRS with Types. The TRS R consists of the following rules: g(x, x) -> g(a, b) [1] g(e, c_g(e, x)) -> g(d, g(c, x)) [1] g(c, c_g(c, x)) -> g(e, g(d, x)) [1] g(d, c_g(d, x)) -> g(c, g(e, x)) [1] f(c_g(x, y)) -> g(y, g(f(f(x)), a)) [1] encArg(a) -> a [0] encArg(b) -> b [0] encArg(c) -> c [0] encArg(e) -> e [0] encArg(d) -> d [0] encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) [0] encArg(cons_f(x_1)) -> f(encArg(x_1)) [0] encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) [0] encode_a -> a [0] encode_b -> b [0] encode_c -> c [0] encode_e -> e [0] encode_d -> d [0] encode_f(x_1) -> f(encArg(x_1)) [0] g(x0, x1) -> c_g(x0, x1) [0] The TRS has the following type information: g :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f a :: a:b:e:c_g:d:c:cons_g:cons_f b :: a:b:e:c_g:d:c:cons_g:cons_f e :: a:b:e:c_g:d:c:cons_g:cons_f c_g :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f d :: a:b:e:c_g:d:c:cons_g:cons_f c :: a:b:e:c_g:d:c:cons_g:cons_f f :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f encArg :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f cons_g :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f cons_f :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f encode_g :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f encode_a :: a:b:e:c_g:d:c:cons_g:cons_f encode_b :: a:b:e:c_g:d:c:cons_g:cons_f encode_c :: a:b:e:c_g:d:c:cons_g:cons_f encode_e :: a:b:e:c_g:d:c:cons_g:cons_f encode_d :: a:b:e:c_g:d:c:cons_g:cons_f encode_f :: a:b:e:c_g:d:c:cons_g:cons_f -> a:b:e:c_g:d:c:cons_g:cons_f Rewrite Strategy: INNERMOST ---------------------------------------- (25) 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: f_1 encArg_1 encode_g_2 encode_a encode_b encode_c encode_e encode_d encode_f_1 g_2 Due to the following rules being added: encArg(v0) -> null_encArg [0] encode_g(v0, v1) -> null_encode_g [0] encode_a -> null_encode_a [0] encode_b -> null_encode_b [0] encode_c -> null_encode_c [0] encode_e -> null_encode_e [0] encode_d -> null_encode_d [0] encode_f(v0) -> null_encode_f [0] g(v0, v1) -> null_g [0] f(v0) -> null_f [0] And the following fresh constants: null_encArg, null_encode_g, null_encode_a, null_encode_b, null_encode_c, null_encode_e, null_encode_d, null_encode_f, null_g, null_f ---------------------------------------- (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: g(x, x) -> g(a, b) [1] g(e, c_g(e, x)) -> g(d, g(c, x)) [1] g(c, c_g(c, x)) -> g(e, g(d, x)) [1] g(d, c_g(d, x)) -> g(c, g(e, x)) [1] f(c_g(x, y)) -> g(y, g(f(f(x)), a)) [1] encArg(a) -> a [0] encArg(b) -> b [0] encArg(c) -> c [0] encArg(e) -> e [0] encArg(d) -> d [0] encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) [0] encArg(cons_f(x_1)) -> f(encArg(x_1)) [0] encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) [0] encode_a -> a [0] encode_b -> b [0] encode_c -> c [0] encode_e -> e [0] encode_d -> d [0] encode_f(x_1) -> f(encArg(x_1)) [0] g(x0, x1) -> c_g(x0, x1) [0] encArg(v0) -> null_encArg [0] encode_g(v0, v1) -> null_encode_g [0] encode_a -> null_encode_a [0] encode_b -> null_encode_b [0] encode_c -> null_encode_c [0] encode_e -> null_encode_e [0] encode_d -> null_encode_d [0] encode_f(v0) -> null_encode_f [0] g(v0, v1) -> null_g [0] f(v0) -> null_f [0] The TRS has the following type information: g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f c_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encArg :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f cons_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f cons_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encArg :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f Rewrite Strategy: INNERMOST ---------------------------------------- (27) NarrowingProof (BOTH BOUNDS(ID, ID)) Narrowed the inner basic terms of all right-hand sides by a single narrowing step. ---------------------------------------- (28) 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: g(x, x) -> g(a, b) [1] g(e, c_g(e, c)) -> g(d, g(a, b)) [2] g(e, c_g(e, c_g(c, x'))) -> g(d, g(e, g(d, x'))) [2] g(e, c_g(e, x)) -> g(d, c_g(c, x)) [1] g(e, c_g(e, x)) -> g(d, null_g) [1] g(c, c_g(c, d)) -> g(e, g(a, b)) [2] g(c, c_g(c, c_g(d, x''))) -> g(e, g(c, g(e, x''))) [2] g(c, c_g(c, x)) -> g(e, c_g(d, x)) [1] g(c, c_g(c, x)) -> g(e, null_g) [1] g(d, c_g(d, e)) -> g(c, g(a, b)) [2] g(d, c_g(d, c_g(e, x2))) -> g(c, g(d, g(c, x2))) [2] g(d, c_g(d, x)) -> g(c, c_g(e, x)) [1] g(d, c_g(d, x)) -> g(c, null_g) [1] f(c_g(c_g(x3, y'), y)) -> g(y, g(f(g(y', g(f(f(x3)), a))), a)) [2] f(c_g(x, y)) -> g(y, g(f(null_f), a)) [1] encArg(a) -> a [0] encArg(b) -> b [0] encArg(c) -> c [0] encArg(e) -> e [0] encArg(d) -> d [0] encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) [0] encArg(cons_f(a)) -> f(a) [0] encArg(cons_f(b)) -> f(b) [0] encArg(cons_f(c)) -> f(c) [0] encArg(cons_f(e)) -> f(e) [0] encArg(cons_f(d)) -> f(d) [0] encArg(cons_f(cons_g(x_117, x_28))) -> f(g(encArg(x_117), encArg(x_28))) [0] encArg(cons_f(cons_f(x_118))) -> f(f(encArg(x_118))) [0] encArg(cons_f(x_1)) -> f(null_encArg) [0] encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) [0] encode_a -> a [0] encode_b -> b [0] encode_c -> c [0] encode_e -> e [0] encode_d -> d [0] encode_f(a) -> f(a) [0] encode_f(b) -> f(b) [0] encode_f(c) -> f(c) [0] encode_f(e) -> f(e) [0] encode_f(d) -> f(d) [0] encode_f(cons_g(x_137, x_218)) -> f(g(encArg(x_137), encArg(x_218))) [0] encode_f(cons_f(x_138)) -> f(f(encArg(x_138))) [0] encode_f(x_1) -> f(null_encArg) [0] g(x0, x1) -> c_g(x0, x1) [0] encArg(v0) -> null_encArg [0] encode_g(v0, v1) -> null_encode_g [0] encode_a -> null_encode_a [0] encode_b -> null_encode_b [0] encode_c -> null_encode_c [0] encode_e -> null_encode_e [0] encode_d -> null_encode_d [0] encode_f(v0) -> null_encode_f [0] g(v0, v1) -> null_g [0] f(v0) -> null_f [0] The TRS has the following type information: g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f c_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encArg :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f cons_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f cons_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encArg :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f Rewrite Strategy: INNERMOST ---------------------------------------- (29) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: a => 0 b => 1 e => 4 d => 3 c => 2 null_encArg => 0 null_encode_g => 0 null_encode_a => 0 null_encode_b => 0 null_encode_c => 0 null_encode_e => 0 null_encode_d => 0 null_encode_f => 0 null_g => 0 null_f => 0 ---------------------------------------- (30) Obligation: Complexity RNTS consisting of the following rules: encArg(z) -{ 0 }-> g(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> f(g(encArg(x_117), encArg(x_28))) :|: x_117 >= 0, z = 1 + (1 + x_117 + x_28), x_28 >= 0 encArg(z) -{ 0 }-> f(f(encArg(x_118))) :|: z = 1 + (1 + x_118), x_118 >= 0 encArg(z) -{ 0 }-> f(4) :|: z = 1 + 4 encArg(z) -{ 0 }-> f(3) :|: z = 1 + 3 encArg(z) -{ 0 }-> f(2) :|: z = 1 + 2 encArg(z) -{ 0 }-> f(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> f(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> f(0) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> 4 :|: z = 4 encArg(z) -{ 0 }-> 3 :|: z = 3 encArg(z) -{ 0 }-> 2 :|: z = 2 encArg(z) -{ 0 }-> 1 :|: z = 1 encArg(z) -{ 0 }-> 0 :|: z = 0 encArg(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_a -{ 0 }-> 0 :|: encode_b -{ 0 }-> 1 :|: encode_b -{ 0 }-> 0 :|: encode_c -{ 0 }-> 2 :|: encode_c -{ 0 }-> 0 :|: encode_d -{ 0 }-> 3 :|: encode_d -{ 0 }-> 0 :|: encode_e -{ 0 }-> 4 :|: encode_e -{ 0 }-> 0 :|: encode_f(z) -{ 0 }-> f(g(encArg(x_137), encArg(x_218))) :|: x_218 >= 0, z = 1 + x_137 + x_218, x_137 >= 0 encode_f(z) -{ 0 }-> f(f(encArg(x_138))) :|: x_138 >= 0, z = 1 + x_138 encode_f(z) -{ 0 }-> f(4) :|: z = 4 encode_f(z) -{ 0 }-> f(3) :|: z = 3 encode_f(z) -{ 0 }-> f(2) :|: z = 2 encode_f(z) -{ 0 }-> f(1) :|: z = 1 encode_f(z) -{ 0 }-> f(0) :|: z = 0 encode_f(z) -{ 0 }-> f(0) :|: x_1 >= 0, z = x_1 encode_f(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_g(z, z') -{ 0 }-> g(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_g(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 f(z) -{ 2 }-> g(y, g(f(g(y', g(f(f(x3)), 0))), 0)) :|: y >= 0, y' >= 0, z = 1 + (1 + x3 + y') + y, x3 >= 0 f(z) -{ 1 }-> g(y, g(f(0), 0)) :|: z = 1 + x + y, x >= 0, y >= 0 f(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 g(z, z') -{ 2 }-> g(4, g(2, g(4, x''))) :|: z = 2, z' = 1 + 2 + (1 + 3 + x''), x'' >= 0 g(z, z') -{ 2 }-> g(4, g(0, 1)) :|: z = 2, z' = 1 + 2 + 3 g(z, z') -{ 1 }-> g(4, 0) :|: z = 2, z' = 1 + 2 + x, x >= 0 g(z, z') -{ 1 }-> g(4, 1 + 3 + x) :|: z = 2, z' = 1 + 2 + x, x >= 0 g(z, z') -{ 2 }-> g(3, g(4, g(3, x'))) :|: x' >= 0, z' = 1 + 4 + (1 + 2 + x'), z = 4 g(z, z') -{ 2 }-> g(3, g(0, 1)) :|: z' = 1 + 4 + 2, z = 4 g(z, z') -{ 1 }-> g(3, 0) :|: x >= 0, z = 4, z' = 1 + 4 + x g(z, z') -{ 1 }-> g(3, 1 + 2 + x) :|: x >= 0, z = 4, z' = 1 + 4 + x g(z, z') -{ 2 }-> g(2, g(3, g(2, x2))) :|: z = 3, z' = 1 + 3 + (1 + 4 + x2), x2 >= 0 g(z, z') -{ 2 }-> g(2, g(0, 1)) :|: z = 3, z' = 1 + 3 + 4 g(z, z') -{ 1 }-> g(2, 0) :|: z = 3, z' = 1 + 3 + x, x >= 0 g(z, z') -{ 1 }-> g(2, 1 + 4 + x) :|: z = 3, z' = 1 + 3 + x, x >= 0 g(z, z') -{ 1 }-> g(0, 1) :|: z' = x, x >= 0, z = x g(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 g(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 ---------------------------------------- (31) SimplificationProof (BOTH BOUNDS(ID, ID)) Simplified the RNTS by moving equalities from the constraints into the right-hand sides. ---------------------------------------- (32) Obligation: Complexity RNTS consisting of the following rules: encArg(z) -{ 0 }-> g(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> f(g(encArg(x_117), encArg(x_28))) :|: x_117 >= 0, z = 1 + (1 + x_117 + x_28), x_28 >= 0 encArg(z) -{ 0 }-> f(f(encArg(z - 2))) :|: z - 2 >= 0 encArg(z) -{ 0 }-> f(4) :|: z = 1 + 4 encArg(z) -{ 0 }-> f(3) :|: z = 1 + 3 encArg(z) -{ 0 }-> f(2) :|: z = 1 + 2 encArg(z) -{ 0 }-> f(1) :|: z = 1 + 1 encArg(z) -{ 0 }-> f(0) :|: z = 1 + 0 encArg(z) -{ 0 }-> f(0) :|: z - 1 >= 0 encArg(z) -{ 0 }-> 4 :|: z = 4 encArg(z) -{ 0 }-> 3 :|: z = 3 encArg(z) -{ 0 }-> 2 :|: z = 2 encArg(z) -{ 0 }-> 1 :|: z = 1 encArg(z) -{ 0 }-> 0 :|: z = 0 encArg(z) -{ 0 }-> 0 :|: z >= 0 encode_a -{ 0 }-> 0 :|: encode_b -{ 0 }-> 1 :|: encode_b -{ 0 }-> 0 :|: encode_c -{ 0 }-> 2 :|: encode_c -{ 0 }-> 0 :|: encode_d -{ 0 }-> 3 :|: encode_d -{ 0 }-> 0 :|: encode_e -{ 0 }-> 4 :|: encode_e -{ 0 }-> 0 :|: encode_f(z) -{ 0 }-> f(g(encArg(x_137), encArg(x_218))) :|: x_218 >= 0, z = 1 + x_137 + x_218, x_137 >= 0 encode_f(z) -{ 0 }-> f(f(encArg(z - 1))) :|: z - 1 >= 0 encode_f(z) -{ 0 }-> f(4) :|: z = 4 encode_f(z) -{ 0 }-> f(3) :|: z = 3 encode_f(z) -{ 0 }-> f(2) :|: z = 2 encode_f(z) -{ 0 }-> f(1) :|: z = 1 encode_f(z) -{ 0 }-> f(0) :|: z = 0 encode_f(z) -{ 0 }-> f(0) :|: z >= 0 encode_f(z) -{ 0 }-> 0 :|: z >= 0 encode_g(z, z') -{ 0 }-> g(encArg(z), encArg(z')) :|: z >= 0, z' >= 0 encode_g(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 f(z) -{ 2 }-> g(y, g(f(g(y', g(f(f(x3)), 0))), 0)) :|: y >= 0, y' >= 0, z = 1 + (1 + x3 + y') + y, x3 >= 0 f(z) -{ 1 }-> g(y, g(f(0), 0)) :|: z = 1 + x + y, x >= 0, y >= 0 f(z) -{ 0 }-> 0 :|: z >= 0 g(z, z') -{ 2 }-> g(4, g(2, g(4, z' - 7))) :|: z = 2, z' - 7 >= 0 g(z, z') -{ 2 }-> g(4, g(0, 1)) :|: z = 2, z' = 1 + 2 + 3 g(z, z') -{ 1 }-> g(4, 0) :|: z = 2, z' - 3 >= 0 g(z, z') -{ 1 }-> g(4, 1 + 3 + (z' - 3)) :|: z = 2, z' - 3 >= 0 g(z, z') -{ 2 }-> g(3, g(4, g(3, z' - 8))) :|: z' - 8 >= 0, z = 4 g(z, z') -{ 2 }-> g(3, g(0, 1)) :|: z' = 1 + 4 + 2, z = 4 g(z, z') -{ 1 }-> g(3, 0) :|: z' - 5 >= 0, z = 4 g(z, z') -{ 1 }-> g(3, 1 + 2 + (z' - 5)) :|: z' - 5 >= 0, z = 4 g(z, z') -{ 2 }-> g(2, g(3, g(2, z' - 9))) :|: z = 3, z' - 9 >= 0 g(z, z') -{ 2 }-> g(2, g(0, 1)) :|: z = 3, z' = 1 + 3 + 4 g(z, z') -{ 1 }-> g(2, 0) :|: z = 3, z' - 4 >= 0 g(z, z') -{ 1 }-> g(2, 1 + 4 + (z' - 4)) :|: z = 3, z' - 4 >= 0 g(z, z') -{ 1 }-> g(0, 1) :|: z' >= 0, z = z' g(z, z') -{ 0 }-> 0 :|: z >= 0, z' >= 0 g(z, z') -{ 0 }-> 1 + z + z' :|: z >= 0, z' >= 0 ---------------------------------------- (33) 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_g(v0, v1) -> null_encode_g [0] encode_a -> null_encode_a [0] encode_b -> null_encode_b [0] encode_c -> null_encode_c [0] encode_e -> null_encode_e [0] encode_d -> null_encode_d [0] encode_f(v0) -> null_encode_f [0] g(v0, v1) -> null_g [0] f(v0) -> null_f [0] And the following fresh constants: null_encArg, null_encode_g, null_encode_a, null_encode_b, null_encode_c, null_encode_e, null_encode_d, null_encode_f, null_g, null_f ---------------------------------------- (34) 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: g(x, x) -> g(a, b) [1] g(e, c_g(e, x)) -> g(d, g(c, x)) [1] g(c, c_g(c, x)) -> g(e, g(d, x)) [1] g(d, c_g(d, x)) -> g(c, g(e, x)) [1] f(c_g(x, y)) -> g(y, g(f(f(x)), a)) [1] encArg(a) -> a [0] encArg(b) -> b [0] encArg(c) -> c [0] encArg(e) -> e [0] encArg(d) -> d [0] encArg(cons_g(x_1, x_2)) -> g(encArg(x_1), encArg(x_2)) [0] encArg(cons_f(x_1)) -> f(encArg(x_1)) [0] encode_g(x_1, x_2) -> g(encArg(x_1), encArg(x_2)) [0] encode_a -> a [0] encode_b -> b [0] encode_c -> c [0] encode_e -> e [0] encode_d -> d [0] encode_f(x_1) -> f(encArg(x_1)) [0] g(x0, x1) -> c_g(x0, x1) [0] encArg(v0) -> null_encArg [0] encode_g(v0, v1) -> null_encode_g [0] encode_a -> null_encode_a [0] encode_b -> null_encode_b [0] encode_c -> null_encode_c [0] encode_e -> null_encode_e [0] encode_d -> null_encode_d [0] encode_f(v0) -> null_encode_f [0] g(v0, v1) -> null_g [0] f(v0) -> null_f [0] The TRS has the following type information: g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f c_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encArg :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f cons_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f cons_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f encode_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f -> a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encArg :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_a :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_b :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_c :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_e :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_d :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_encode_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_g :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f null_f :: a:b:e:c_g:d:c:cons_g:cons_f:null_encArg:null_encode_g:null_encode_a:null_encode_b:null_encode_c:null_encode_e:null_encode_d:null_encode_f:null_g:null_f Rewrite Strategy: INNERMOST ---------------------------------------- (35) CpxTypedWeightedTrsToRntsProof (UPPER BOUND(ID)) Transformed the TRS into an over-approximating RNTS by (improved) Size Abstraction. The constant constructors are abstracted as follows: a => 0 b => 1 e => 4 d => 3 c => 2 null_encArg => 0 null_encode_g => 0 null_encode_a => 0 null_encode_b => 0 null_encode_c => 0 null_encode_e => 0 null_encode_d => 0 null_encode_f => 0 null_g => 0 null_f => 0 ---------------------------------------- (36) Obligation: Complexity RNTS consisting of the following rules: encArg(z) -{ 0 }-> g(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, z = 1 + x_1 + x_2, x_2 >= 0 encArg(z) -{ 0 }-> f(encArg(x_1)) :|: z = 1 + x_1, x_1 >= 0 encArg(z) -{ 0 }-> 4 :|: z = 4 encArg(z) -{ 0 }-> 3 :|: z = 3 encArg(z) -{ 0 }-> 2 :|: z = 2 encArg(z) -{ 0 }-> 1 :|: z = 1 encArg(z) -{ 0 }-> 0 :|: z = 0 encArg(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_a -{ 0 }-> 0 :|: encode_b -{ 0 }-> 1 :|: encode_b -{ 0 }-> 0 :|: encode_c -{ 0 }-> 2 :|: encode_c -{ 0 }-> 0 :|: encode_d -{ 0 }-> 3 :|: encode_d -{ 0 }-> 0 :|: encode_e -{ 0 }-> 4 :|: encode_e -{ 0 }-> 0 :|: encode_f(z) -{ 0 }-> f(encArg(x_1)) :|: x_1 >= 0, z = x_1 encode_f(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 encode_g(z, z') -{ 0 }-> g(encArg(x_1), encArg(x_2)) :|: x_1 >= 0, x_2 >= 0, z = x_1, z' = x_2 encode_g(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 f(z) -{ 1 }-> g(y, g(f(f(x)), 0)) :|: z = 1 + x + y, x >= 0, y >= 0 f(z) -{ 0 }-> 0 :|: v0 >= 0, z = v0 g(z, z') -{ 1 }-> g(4, g(3, x)) :|: z = 2, z' = 1 + 2 + x, x >= 0 g(z, z') -{ 1 }-> g(3, g(2, x)) :|: x >= 0, z = 4, z' = 1 + 4 + x g(z, z') -{ 1 }-> g(2, g(4, x)) :|: z = 3, z' = 1 + 3 + x, x >= 0 g(z, z') -{ 1 }-> g(0, 1) :|: z' = x, x >= 0, z = x g(z, z') -{ 0 }-> 0 :|: v0 >= 0, v1 >= 0, z = v0, z' = v1 g(z, z') -{ 0 }-> 1 + x0 + x1 :|: z = x0, x0 >= 0, x1 >= 0, z' = x1 Only complete derivations are relevant for the runtime complexity. ---------------------------------------- (37) CpxTrsToCdtProof (UPPER BOUND(ID)) Converted Cpx (relative) TRS to CDT ---------------------------------------- (38) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) encode_g(z0, z1) -> g(encArg(z0), encArg(z1)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(z0) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(a) -> c1 ENCARG(b) -> c2 ENCARG(c) -> c3 ENCARG(e) -> c4 ENCARG(d) -> c5 ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) ENCODE_G(z0, z1) -> c8(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_A -> c9 ENCODE_B -> c10 ENCODE_C -> c11 ENCODE_E -> c12 ENCODE_D -> c13 ENCODE_F(z0) -> c14(F(encArg(z0)), ENCARG(z0)) G(z0, z1) -> c15 G(z0, z0) -> c16(G(a, b)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) S tuples: G(z0, z0) -> c16(G(a, b)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) K tuples:none Defined Rule Symbols: g_2, f_1, encArg_1, encode_g_2, encode_a, encode_b, encode_c, encode_e, encode_d, encode_f_1 Defined Pair Symbols: ENCARG_1, ENCODE_G_2, ENCODE_A, ENCODE_B, ENCODE_C, ENCODE_E, ENCODE_D, ENCODE_F_1, G_2, F_1 Compound Symbols: c1, c2, c3, c4, c5, c6_3, c7_2, c8_3, c9, c10, c11, c12, c13, c14_2, c15, c16_1, c17_2, c18_2, c19_2, c20_4 ---------------------------------------- (39) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 11 trailing nodes: G(z0, z1) -> c15 ENCARG(a) -> c1 ENCODE_C -> c11 ENCODE_A -> c9 ENCODE_D -> c13 ENCARG(b) -> c2 ENCARG(d) -> c5 ENCODE_B -> c10 ENCODE_E -> c12 ENCARG(c) -> c3 ENCARG(e) -> c4 ---------------------------------------- (40) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) encode_g(z0, z1) -> g(encArg(z0), encArg(z1)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(z0) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) ENCODE_G(z0, z1) -> c8(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_F(z0) -> c14(F(encArg(z0)), ENCARG(z0)) G(z0, z0) -> c16(G(a, b)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) S tuples: G(z0, z0) -> c16(G(a, b)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) K tuples:none Defined Rule Symbols: g_2, f_1, encArg_1, encode_g_2, encode_a, encode_b, encode_c, encode_e, encode_d, encode_f_1 Defined Pair Symbols: ENCARG_1, ENCODE_G_2, ENCODE_F_1, G_2, F_1 Compound Symbols: c6_3, c7_2, c8_3, c14_2, c16_1, c17_2, c18_2, c19_2, c20_4 ---------------------------------------- (41) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (42) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) encode_g(z0, z1) -> g(encArg(z0), encArg(z1)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(z0) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) ENCODE_G(z0, z1) -> c8(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCODE_F(z0) -> c14(F(encArg(z0)), ENCARG(z0)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 S tuples: G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 K tuples:none Defined Rule Symbols: g_2, f_1, encArg_1, encode_g_2, encode_a, encode_b, encode_c, encode_e, encode_d, encode_f_1 Defined Pair Symbols: ENCARG_1, ENCODE_G_2, ENCODE_F_1, G_2, F_1 Compound Symbols: c6_3, c7_2, c8_3, c14_2, c17_2, c18_2, c19_2, c20_4, c16 ---------------------------------------- (43) CdtGraphSplitRhsProof (BOTH BOUNDS(ID, ID)) Split RHS of tuples not part of any SCC ---------------------------------------- (44) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) encode_g(z0, z1) -> g(encArg(z0), encArg(z1)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(z0) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_G(z0, z1) -> c1(ENCARG(z0)) ENCODE_G(z0, z1) -> c1(ENCARG(z1)) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCODE_F(z0) -> c1(ENCARG(z0)) S tuples: G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 K tuples:none Defined Rule Symbols: g_2, f_1, encArg_1, encode_g_2, encode_a, encode_b, encode_c, encode_e, encode_d, encode_f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c7_2, c17_2, c18_2, c19_2, c20_4, c16, c1_1 ---------------------------------------- (45) CdtLeafRemovalProof (ComplexityIfPolyImplication) Removed 3 leading nodes: ENCODE_G(z0, z1) -> c1(ENCARG(z0)) ENCODE_G(z0, z1) -> c1(ENCARG(z1)) ENCODE_F(z0) -> c1(ENCARG(z0)) ---------------------------------------- (46) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) encode_g(z0, z1) -> g(encArg(z0), encArg(z1)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(z0) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) S tuples: G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 K tuples:none Defined Rule Symbols: g_2, f_1, encArg_1, encode_g_2, encode_a, encode_b, encode_c, encode_e, encode_d, encode_f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c7_2, c17_2, c18_2, c19_2, c20_4, c16, c1_1 ---------------------------------------- (47) CdtUsableRulesProof (BOTH BOUNDS(ID, ID)) The following rules are not usable and were removed: encode_g(z0, z1) -> g(encArg(z0), encArg(z1)) encode_a -> a encode_b -> b encode_c -> c encode_e -> e encode_d -> d encode_f(z0) -> f(encArg(z0)) ---------------------------------------- (48) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) S tuples: G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c7_2, c17_2, c18_2, c19_2, c20_4, c16, c1_1 ---------------------------------------- (49) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_f(z0)) -> c7(F(encArg(z0)), ENCARG(z0)) by ENCARG(cons_f(a)) -> c7(F(a), ENCARG(a)) ENCARG(cons_f(b)) -> c7(F(b), ENCARG(b)) ENCARG(cons_f(c)) -> c7(F(c), ENCARG(c)) ENCARG(cons_f(e)) -> c7(F(e), ENCARG(e)) ENCARG(cons_f(d)) -> c7(F(d), ENCARG(d)) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) ---------------------------------------- (50) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(a)) -> c7(F(a), ENCARG(a)) ENCARG(cons_f(b)) -> c7(F(b), ENCARG(b)) ENCARG(cons_f(c)) -> c7(F(c), ENCARG(c)) ENCARG(cons_f(e)) -> c7(F(e), ENCARG(e)) ENCARG(cons_f(d)) -> c7(F(d), ENCARG(d)) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) S tuples: G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c17_2, c18_2, c19_2, c20_4, c16, c1_1, c7_2 ---------------------------------------- (51) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 5 trailing nodes: ENCARG(cons_f(d)) -> c7(F(d), ENCARG(d)) ENCARG(cons_f(b)) -> c7(F(b), ENCARG(b)) ENCARG(cons_f(a)) -> c7(F(a), ENCARG(a)) ENCARG(cons_f(c)) -> c7(F(c), ENCARG(c)) ENCARG(cons_f(e)) -> c7(F(e), ENCARG(e)) ---------------------------------------- (52) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) S tuples: G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c17_2, c18_2, c19_2, c20_4, c16, c1_1, c7_2 ---------------------------------------- (53) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(e, c_g(e, z0)) -> c17(G(d, g(c, z0)), G(c, z0)) by G(e, c_g(e, z1)) -> c17(G(d, c_g(c, z1)), G(c, z1)) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) ---------------------------------------- (54) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, z1)) -> c17(G(d, c_g(c, z1)), G(c, z1)) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) S tuples: G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(d, c_g(c, z1)), G(c, z1)) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c18_2, c19_2, c20_4, c16, c1_1, c7_2, c17_2 ---------------------------------------- (55) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (56) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) S tuples: G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c18_2, c19_2, c20_4, c16, c1_1, c7_2, c17_2, c17_1 ---------------------------------------- (57) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(c, c_g(c, z0)) -> c18(G(e, g(d, z0)), G(d, z0)) by G(c, c_g(c, z1)) -> c18(G(e, c_g(d, z1)), G(d, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) ---------------------------------------- (58) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(e, c_g(d, z1)), G(d, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) S tuples: G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(e, c_g(d, z1)), G(d, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c19_2, c20_4, c16, c1_1, c7_2, c17_2, c17_1, c18_2 ---------------------------------------- (59) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (60) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) S tuples: G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, F_1, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c19_2, c20_4, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1 ---------------------------------------- (61) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(d, c_g(d, z0)) -> c19(G(c, g(e, z0)), G(e, z0)) by G(d, c_g(d, z1)) -> c19(G(c, c_g(e, z1)), G(e, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) ---------------------------------------- (62) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(c, c_g(e, z1)), G(e, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) S tuples: F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(c, c_g(e, z1)), G(e, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, F_1, G_2, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c20_4, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1, c19_2 ---------------------------------------- (63) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (64) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) S tuples: F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, F_1, G_2, ENCODE_G_2, ENCODE_F_1 Compound Symbols: c6_3, c20_4, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1 ---------------------------------------- (65) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace F(c_g(z0, z1)) -> c20(G(z1, g(f(f(z0)), a)), G(f(f(z0)), a), F(f(z0)), F(z0)) by F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ---------------------------------------- (66) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCODE_F(z0) -> c1(F(encArg(z0))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, ENCODE_F_1, F_1 Compound Symbols: c6_3, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4 ---------------------------------------- (67) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_F(z0) -> c1(F(encArg(z0))) by ENCODE_F(a) -> c1(F(a)) ENCODE_F(b) -> c1(F(b)) ENCODE_F(c) -> c1(F(c)) ENCODE_F(e) -> c1(F(e)) ENCODE_F(d) -> c1(F(d)) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ---------------------------------------- (68) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(a) -> c1(F(a)) ENCODE_F(b) -> c1(F(b)) ENCODE_F(c) -> c1(F(c)) ENCODE_F(e) -> c1(F(e)) ENCODE_F(d) -> c1(F(d)) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4 ---------------------------------------- (69) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 5 trailing nodes: ENCODE_F(c) -> c1(F(c)) ENCODE_F(d) -> c1(F(d)) ENCODE_F(b) -> c1(F(b)) ENCODE_F(a) -> c1(F(a)) ENCODE_F(e) -> c1(F(e)) ---------------------------------------- (70) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4 ---------------------------------------- (71) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_f(cons_g(z0, z1))) -> c7(F(g(encArg(z0), encArg(z1))), ENCARG(cons_g(z0, z1))) by ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ---------------------------------------- (72) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c7_2, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_1 ---------------------------------------- (73) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCARG(cons_f(cons_f(z0))) -> c7(F(f(encArg(z0))), ENCARG(cons_f(z0))) by ENCARG(cons_f(cons_f(a))) -> c7(F(f(a)), ENCARG(cons_f(a))) ENCARG(cons_f(cons_f(b))) -> c7(F(f(b)), ENCARG(cons_f(b))) ENCARG(cons_f(cons_f(c))) -> c7(F(f(c)), ENCARG(cons_f(c))) ENCARG(cons_f(cons_f(e))) -> c7(F(f(e)), ENCARG(cons_f(e))) ENCARG(cons_f(cons_f(d))) -> c7(F(f(d)), ENCARG(cons_f(d))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) ---------------------------------------- (74) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(a))) -> c7(F(f(a)), ENCARG(cons_f(a))) ENCARG(cons_f(cons_f(b))) -> c7(F(f(b)), ENCARG(cons_f(b))) ENCARG(cons_f(cons_f(c))) -> c7(F(f(c)), ENCARG(cons_f(c))) ENCARG(cons_f(cons_f(e))) -> c7(F(f(e)), ENCARG(cons_f(e))) ENCARG(cons_f(cons_f(d))) -> c7(F(f(d)), ENCARG(cons_f(d))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1 ---------------------------------------- (75) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 5 trailing nodes: ENCARG(cons_f(cons_f(b))) -> c7(F(f(b)), ENCARG(cons_f(b))) ENCARG(cons_f(cons_f(e))) -> c7(F(f(e)), ENCARG(cons_f(e))) ENCARG(cons_f(cons_f(c))) -> c7(F(f(c)), ENCARG(cons_f(c))) ENCARG(cons_f(cons_f(d))) -> c7(F(f(d)), ENCARG(cons_f(d))) ENCARG(cons_f(cons_f(a))) -> c7(F(f(a)), ENCARG(cons_f(a))) ---------------------------------------- (76) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1 ---------------------------------------- (77) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(e, c_g(e, c)) -> c17(G(d, g(a, b)), G(c, c)) by G(e, c_g(e, c)) -> c17(G(d, c_g(a, b)), G(c, c)) G(e, c_g(e, c)) -> c17(G(c, c)) ---------------------------------------- (78) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(d, c_g(a, b)), G(c, c)) G(e, c_g(e, c)) -> c17(G(c, c)) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(d, c_g(a, b)), G(c, c)) G(e, c_g(e, c)) -> c17(G(c, c)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1 ---------------------------------------- (79) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (80) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) S tuples: G(z0, z0) -> c16 G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_2, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1 ---------------------------------------- (81) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(e, c_g(e, c_g(c, z0))) -> c17(G(d, g(e, g(d, z0))), G(c, c_g(c, z0))) by G(e, c_g(e, c_g(c, x0))) -> c17(G(d, c_g(e, g(d, x0))), G(c, c_g(c, x0))) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) ---------------------------------------- (82) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, x0))) -> c17(G(d, c_g(e, g(d, x0))), G(c, c_g(c, x0))) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, x0))) -> c17(G(d, c_g(e, g(d, x0))), G(c, c_g(c, x0))) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2 ---------------------------------------- (83) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (84) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2 ---------------------------------------- (85) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(c, c_g(c, d)) -> c18(G(e, g(a, b)), G(d, d)) by G(c, c_g(c, d)) -> c18(G(e, c_g(a, b)), G(d, d)) G(c, c_g(c, d)) -> c18(G(d, d)) ---------------------------------------- (86) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(e, c_g(a, b)), G(d, d)) G(c, c_g(c, d)) -> c18(G(d, d)) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(e, c_g(a, b)), G(d, d)) G(c, c_g(c, d)) -> c18(G(d, d)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2 ---------------------------------------- (87) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (88) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_2, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2 ---------------------------------------- (89) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(c, c_g(c, c_g(d, z0))) -> c18(G(e, g(c, g(e, z0))), G(d, c_g(d, z0))) by G(c, c_g(c, c_g(d, x0))) -> c18(G(e, c_g(c, g(e, x0))), G(d, c_g(d, x0))) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) ---------------------------------------- (90) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, x0))) -> c18(G(e, c_g(c, g(e, x0))), G(d, c_g(d, x0))) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, x0))) -> c18(G(e, c_g(c, g(e, x0))), G(d, c_g(d, x0))) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2 ---------------------------------------- (91) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (92) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2 ---------------------------------------- (93) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(d, c_g(d, e)) -> c19(G(c, g(a, b)), G(e, e)) by G(d, c_g(d, e)) -> c19(G(c, c_g(a, b)), G(e, e)) G(d, c_g(d, e)) -> c19(G(e, e)) ---------------------------------------- (94) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(c, c_g(a, b)), G(e, e)) G(d, c_g(d, e)) -> c19(G(e, e)) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(c, c_g(a, b)), G(e, e)) G(d, c_g(d, e)) -> c19(G(e, e)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2 ---------------------------------------- (95) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (96) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_2, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2 ---------------------------------------- (97) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace G(d, c_g(d, c_g(e, z0))) -> c19(G(c, g(d, g(c, z0))), G(e, c_g(e, z0))) by G(d, c_g(d, c_g(e, x0))) -> c19(G(c, c_g(d, g(c, x0))), G(e, c_g(e, x0))) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) ---------------------------------------- (98) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, x0))) -> c19(G(c, c_g(d, g(c, x0))), G(e, c_g(e, x0))) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, x0))) -> c19(G(c, c_g(d, g(c, x0))), G(e, c_g(e, x0))) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2, c19_2 ---------------------------------------- (99) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (100) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2, c19_2 ---------------------------------------- (101) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a)), G(f(f(x0)), a), F(f(x0)), F(x0)) by F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) ---------------------------------------- (102) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c20_4, c7_2, c7_1, c17_2, c18_2, c19_2, c20_1 ---------------------------------------- (103) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, g(f(g(z1, g(f(f(z0)), a))), a)), G(f(f(c_g(z0, z1))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) by F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ---------------------------------------- (104) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, ENCODE_F_1, F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (105) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_F(cons_g(z0, z1)) -> c1(F(g(encArg(z0), encArg(z1)))) by ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ---------------------------------------- (106) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, ENCODE_F_1, F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (107) CdtNarrowingProof (BOTH BOUNDS(ID, ID)) Use narrowing to replace ENCODE_F(cons_f(z0)) -> c1(F(f(encArg(z0)))) by ENCODE_F(cons_f(a)) -> c1(F(f(a))) ENCODE_F(cons_f(b)) -> c1(F(f(b))) ENCODE_F(cons_f(c)) -> c1(F(f(c))) ENCODE_F(cons_f(e)) -> c1(F(f(e))) ENCODE_F(cons_f(d)) -> c1(F(f(d))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) ---------------------------------------- (108) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ENCODE_F(cons_f(a)) -> c1(F(f(a))) ENCODE_F(cons_f(b)) -> c1(F(f(b))) ENCODE_F(cons_f(c)) -> c1(F(f(c))) ENCODE_F(cons_f(e)) -> c1(F(f(e))) ENCODE_F(cons_f(d)) -> c1(F(f(d))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (109) CdtLeafRemovalProof (BOTH BOUNDS(ID, ID)) Removed 5 trailing nodes: ENCODE_F(cons_f(a)) -> c1(F(f(a))) ENCODE_F(cons_f(d)) -> c1(F(f(d))) ENCODE_F(cons_f(b)) -> c1(F(f(b))) ENCODE_F(cons_f(c)) -> c1(F(f(c))) ENCODE_F(cons_f(e)) -> c1(F(f(e))) ---------------------------------------- (110) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (111) CdtRewritingProof (BOTH BOUNDS(ID, ID)) Used rewriting to replace ENCARG(cons_f(cons_g(x0, x0))) -> c7(F(g(a, b)), ENCARG(cons_g(x0, x0))) by ENCARG(cons_f(cons_g(z0, z0))) -> c7(F(c_g(a, b)), ENCARG(cons_g(z0, z0))) ---------------------------------------- (112) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) ENCARG(cons_f(cons_g(z0, z0))) -> c7(F(c_g(a, b)), ENCARG(cons_g(z0, z0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (113) CdtRewritingProof (BOTH BOUNDS(ID, ID)) Used rewriting to replace G(e, c_g(e, c_g(c, z1))) -> c17(G(d, g(e, c_g(d, z1))), G(c, c_g(c, z1))) by G(e, c_g(e, c_g(c, z0))) -> c17(G(d, c_g(e, c_g(d, z0))), G(c, c_g(c, z0))) ---------------------------------------- (114) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) ENCARG(cons_f(cons_g(z0, z0))) -> c7(F(c_g(a, b)), ENCARG(cons_g(z0, z0))) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, c_g(e, c_g(d, z0))), G(c, c_g(c, z0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) G(e, c_g(e, c_g(c, z0))) -> c17(G(d, c_g(e, c_g(d, z0))), G(c, c_g(c, z0))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (115) CdtRhsSimplificationProcessorProof (BOTH BOUNDS(ID, ID)) Removed 1 trailing tuple parts ---------------------------------------- (116) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) ENCARG(cons_f(cons_g(z0, z0))) -> c7(F(c_g(a, b)), ENCARG(cons_g(z0, z0))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3 ---------------------------------------- (117) CdtRewritingProof (BOTH BOUNDS(ID, ID)) Used rewriting to replace G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, g(a, b))), G(c, c_g(c, d))) by G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, c_g(a, b))), G(c, c_g(c, d))) ---------------------------------------- (118) Obligation: Complexity Dependency Tuples Problem Rules: encArg(a) -> a encArg(b) -> b encArg(c) -> c encArg(e) -> e encArg(d) -> d encArg(cons_g(z0, z1)) -> g(encArg(z0), encArg(z1)) encArg(cons_f(z0)) -> f(encArg(z0)) g(z0, z1) -> c_g(z0, z1) g(z0, z0) -> g(a, b) g(e, c_g(e, z0)) -> g(d, g(c, z0)) g(c, c_g(c, z0)) -> g(e, g(d, z0)) g(d, c_g(d, z0)) -> g(c, g(e, z0)) f(c_g(z0, z1)) -> g(z1, g(f(f(z0)), a)) Tuples: ENCARG(cons_g(z0, z1)) -> c6(G(encArg(z0), encArg(z1)), ENCARG(z0), ENCARG(z1)) G(z0, z0) -> c16 ENCODE_G(z0, z1) -> c1(G(encArg(z0), encArg(z1))) G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) ENCARG(cons_f(cons_g(x0, x1))) -> c7(F(c_g(encArg(x0), encArg(x1))), ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_g(x0, a))) -> c7(F(g(encArg(x0), a)), ENCARG(cons_g(x0, a))) ENCARG(cons_f(cons_g(x0, b))) -> c7(F(g(encArg(x0), b)), ENCARG(cons_g(x0, b))) ENCARG(cons_f(cons_g(x0, c))) -> c7(F(g(encArg(x0), c)), ENCARG(cons_g(x0, c))) ENCARG(cons_f(cons_g(x0, e))) -> c7(F(g(encArg(x0), e)), ENCARG(cons_g(x0, e))) ENCARG(cons_f(cons_g(x0, d))) -> c7(F(g(encArg(x0), d)), ENCARG(cons_g(x0, d))) ENCARG(cons_f(cons_g(x0, cons_g(z0, z1)))) -> c7(F(g(encArg(x0), g(encArg(z0), encArg(z1)))), ENCARG(cons_g(x0, cons_g(z0, z1)))) ENCARG(cons_f(cons_g(x0, cons_f(z0)))) -> c7(F(g(encArg(x0), f(encArg(z0)))), ENCARG(cons_g(x0, cons_f(z0)))) ENCARG(cons_f(cons_g(a, x1))) -> c7(F(g(a, encArg(x1))), ENCARG(cons_g(a, x1))) ENCARG(cons_f(cons_g(b, x1))) -> c7(F(g(b, encArg(x1))), ENCARG(cons_g(b, x1))) ENCARG(cons_f(cons_g(c, x1))) -> c7(F(g(c, encArg(x1))), ENCARG(cons_g(c, x1))) ENCARG(cons_f(cons_g(e, x1))) -> c7(F(g(e, encArg(x1))), ENCARG(cons_g(e, x1))) ENCARG(cons_f(cons_g(d, x1))) -> c7(F(g(d, encArg(x1))), ENCARG(cons_g(d, x1))) ENCARG(cons_f(cons_g(cons_g(z0, z1), x1))) -> c7(F(g(g(encArg(z0), encArg(z1)), encArg(x1))), ENCARG(cons_g(cons_g(z0, z1), x1))) ENCARG(cons_f(cons_g(cons_f(z0), x1))) -> c7(F(g(f(encArg(z0)), encArg(x1))), ENCARG(cons_g(cons_f(z0), x1))) ENCARG(cons_f(cons_g(x0, x1))) -> c7(ENCARG(cons_g(x0, x1))) ENCARG(cons_f(cons_f(cons_g(z0, z1)))) -> c7(F(f(g(encArg(z0), encArg(z1)))), ENCARG(cons_f(cons_g(z0, z1)))) ENCARG(cons_f(cons_f(cons_f(z0)))) -> c7(F(f(f(encArg(z0)))), ENCARG(cons_f(cons_f(z0)))) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) ENCODE_F(cons_g(x0, x1)) -> c1(F(c_g(encArg(x0), encArg(x1)))) ENCODE_F(cons_g(x0, x0)) -> c1(F(g(a, b))) ENCODE_F(cons_g(x0, a)) -> c1(F(g(encArg(x0), a))) ENCODE_F(cons_g(x0, b)) -> c1(F(g(encArg(x0), b))) ENCODE_F(cons_g(x0, c)) -> c1(F(g(encArg(x0), c))) ENCODE_F(cons_g(x0, e)) -> c1(F(g(encArg(x0), e))) ENCODE_F(cons_g(x0, d)) -> c1(F(g(encArg(x0), d))) ENCODE_F(cons_g(x0, cons_g(z0, z1))) -> c1(F(g(encArg(x0), g(encArg(z0), encArg(z1))))) ENCODE_F(cons_g(x0, cons_f(z0))) -> c1(F(g(encArg(x0), f(encArg(z0))))) ENCODE_F(cons_g(a, x1)) -> c1(F(g(a, encArg(x1)))) ENCODE_F(cons_g(b, x1)) -> c1(F(g(b, encArg(x1)))) ENCODE_F(cons_g(c, x1)) -> c1(F(g(c, encArg(x1)))) ENCODE_F(cons_g(e, x1)) -> c1(F(g(e, encArg(x1)))) ENCODE_F(cons_g(d, x1)) -> c1(F(g(d, encArg(x1)))) ENCODE_F(cons_g(cons_g(z0, z1), x1)) -> c1(F(g(g(encArg(z0), encArg(z1)), encArg(x1)))) ENCODE_F(cons_g(cons_f(z0), x1)) -> c1(F(g(f(encArg(z0)), encArg(x1)))) ENCODE_F(cons_f(cons_g(z0, z1))) -> c1(F(f(g(encArg(z0), encArg(z1))))) ENCODE_F(cons_f(cons_f(z0))) -> c1(F(f(f(encArg(z0))))) ENCARG(cons_f(cons_g(z0, z0))) -> c7(F(c_g(a, b)), ENCARG(cons_g(z0, z0))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, c_g(a, b))), G(c, c_g(c, d))) S tuples: G(z0, z0) -> c16 G(e, c_g(e, z1)) -> c17(G(c, z1)) G(c, c_g(c, z1)) -> c18(G(d, z1)) G(d, c_g(d, z1)) -> c19(G(e, z1)) G(e, c_g(e, c)) -> c17(G(c, c)) G(e, c_g(e, c_g(c, c_g(d, z0)))) -> c17(G(d, g(e, g(c, g(e, z0)))), G(c, c_g(c, c_g(d, z0)))) G(e, c_g(e, c_g(c, x0))) -> c17(G(c, c_g(c, x0))) G(c, c_g(c, d)) -> c18(G(d, d)) G(c, c_g(c, c_g(d, z1))) -> c18(G(e, g(c, c_g(e, z1))), G(d, c_g(d, z1))) G(c, c_g(c, c_g(d, e))) -> c18(G(e, g(c, g(a, b))), G(d, c_g(d, e))) G(c, c_g(c, c_g(d, c_g(e, z0)))) -> c18(G(e, g(c, g(d, g(c, z0)))), G(d, c_g(d, c_g(e, z0)))) G(c, c_g(c, c_g(d, x0))) -> c18(G(d, c_g(d, x0))) G(d, c_g(d, e)) -> c19(G(e, e)) G(d, c_g(d, c_g(e, z1))) -> c19(G(c, g(d, c_g(c, z1))), G(e, c_g(e, z1))) G(d, c_g(d, c_g(e, c))) -> c19(G(c, g(d, g(a, b))), G(e, c_g(e, c))) G(d, c_g(d, c_g(e, c_g(c, z0)))) -> c19(G(c, g(d, g(e, g(d, z0)))), G(e, c_g(e, c_g(c, z0)))) G(d, c_g(d, c_g(e, x0))) -> c19(G(e, c_g(e, x0))) F(c_g(c_g(z0, z1), x1)) -> c20(G(x1, c_g(f(f(c_g(z0, z1))), a)), G(f(g(z1, g(f(f(z0)), a))), a), F(f(c_g(z0, z1))), F(c_g(z0, z1))) F(c_g(x0, x1)) -> c20(G(x1, c_g(f(f(x0)), a))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, c_g(f(g(x1, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(x0, z0), x2)) -> c20(G(x2, g(f(c_g(z0, g(f(f(x0)), a))), a)), G(f(f(c_g(x0, z0))), a), F(f(c_g(x0, z0))), F(c_g(x0, z0))) F(c_g(c_g(x0, x1), x2)) -> c20(G(x2, g(f(g(x1, c_g(f(f(x0)), a))), a)), G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) F(c_g(c_g(c_g(z0, z1), x1), x2)) -> c20(G(x2, g(f(g(x1, g(f(g(z1, g(f(f(z0)), a))), a))), a)), G(f(f(c_g(c_g(z0, z1), x1))), a), F(f(c_g(c_g(z0, z1), x1))), F(c_g(c_g(z0, z1), x1))) F(c_g(c_g(x0, x1), x2)) -> c20(G(f(f(c_g(x0, x1))), a), F(f(c_g(x0, x1))), F(c_g(x0, x1))) G(e, c_g(e, c_g(c, d))) -> c17(G(d, g(e, c_g(a, b))), G(c, c_g(c, d))) K tuples:none Defined Rule Symbols: encArg_1, g_2, f_1 Defined Pair Symbols: ENCARG_1, G_2, ENCODE_G_2, F_1, ENCODE_F_1 Compound Symbols: c6_3, c16, c1_1, c17_1, c18_1, c19_1, c7_2, c7_1, c17_2, c18_2, c19_2, c20_4, c20_1, c20_3