/export/starexec/sandbox2/solver/bin/starexec_run_standard /export/starexec/sandbox2/benchmark/theBenchmark.xml /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml # AProVE Commit ID: c69e44bd14796315568835c1ffa2502984884775 mhark 20210624 unpublished Termination of the given CSR could be proven: (0) CSR (1) CSRInnermostProof [EQUIVALENT, 30 ms] (2) CSR (3) CSDependencyPairsProof [EQUIVALENT, 0 ms] (4) QCSDP (5) QCSDependencyGraphProof [EQUIVALENT, 0 ms] (6) AND (7) QCSDP (8) QCSDPSubtermProof [EQUIVALENT, 4 ms] (9) QCSDP (10) PIsEmptyProof [EQUIVALENT, 0 ms] (11) YES (12) QCSDP (13) QCSDPSubtermProof [EQUIVALENT, 0 ms] (14) QCSDP (15) QCSDependencyGraphProof [EQUIVALENT, 0 ms] (16) TRUE ---------------------------------------- (0) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} snd: {1} splitAt: {1, 2} U21: {1} U22: {1} U31: {1} U32: {1} U41: {1} U42: {1} head: {1} afterNth: {1, 2} U51: {1} U52: {1} U61: {1} U62: {1} U63: {1} U64: {1} pair: {1, 2} cons: {1} U71: {1} U72: {1} U81: {1} U82: {1} fst: {1} natsFrom: {1} s: {1} sel: {1, 2} 0: empty set nil: empty set tail: {1} take: {1, 2} ---------------------------------------- (1) CSRInnermostProof (EQUIVALENT) The CSR is orthogonal. By [CS_Inn] we can switch to innermost. ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} snd: {1} splitAt: {1, 2} U21: {1} U22: {1} U31: {1} U32: {1} U41: {1} U42: {1} head: {1} afterNth: {1, 2} U51: {1} U52: {1} U61: {1} U62: {1} U63: {1} U64: {1} pair: {1, 2} cons: {1} U71: {1} U72: {1} U81: {1} U82: {1} fst: {1} natsFrom: {1} s: {1} sel: {1, 2} 0: empty set nil: empty set tail: {1} take: {1, 2} Innermost Strategy. ---------------------------------------- (3) CSDependencyPairsProof (EQUIVALENT) Using Improved CS-DPs [LPAR08] we result in the following initial Q-CSDP problem. ---------------------------------------- (4) Obligation: Q-restricted context-sensitive dependency pair problem: The symbols in {snd_1, splitAt_2, head_1, afterNth_2, pair_2, fst_1, natsFrom_1, s_1, sel_2, tail_1, take_2, SND_1, SPLITAT_2, HEAD_1, AFTERNTH_2, FST_1, SEL_2, TAIL_1, TAKE_2, NATSFROM_1} are replacing on all positions. For all symbols f in {U11_3, U12_3, U21_2, U22_2, U31_2, U32_2, U41_3, U42_3, U51_2, U52_2, U61_4, U62_4, U63_4, U64_2, cons_2, U71_2, U72_2, U81_3, U82_3, U12'_3, U11'_3, U22'_2, U21'_2, U32'_2, U31'_2, U42'_3, U41'_3, U52'_2, U51'_2, U62'_4, U61'_4, U63'_4, U64'_2, U72'_2, U71'_2, U82'_3, U81'_3} we have mu(f) = {1}. The symbols in {U_1} are not replacing on any position. The ordinary context-sensitive dependency pairs DP_o are: U11'(tt, N, XS) -> U12'(tt, N, XS) U12'(tt, N, XS) -> SND(splitAt(N, XS)) U12'(tt, N, XS) -> SPLITAT(N, XS) U21'(tt, X) -> U22'(tt, X) U31'(tt, N) -> U32'(tt, N) U41'(tt, N, XS) -> U42'(tt, N, XS) U42'(tt, N, XS) -> HEAD(afterNth(N, XS)) U42'(tt, N, XS) -> AFTERNTH(N, XS) U51'(tt, Y) -> U52'(tt, Y) U61'(tt, N, X, XS) -> U62'(tt, N, X, XS) U62'(tt, N, X, XS) -> U63'(tt, N, X, XS) U63'(tt, N, X, XS) -> U64'(splitAt(N, XS), X) U63'(tt, N, X, XS) -> SPLITAT(N, XS) U71'(tt, XS) -> U72'(tt, XS) U81'(tt, N, XS) -> U82'(tt, N, XS) U82'(tt, N, XS) -> FST(splitAt(N, XS)) U82'(tt, N, XS) -> SPLITAT(N, XS) AFTERNTH(N, XS) -> U11'(tt, N, XS) FST(pair(X, Y)) -> U21'(tt, X) HEAD(cons(N, XS)) -> U31'(tt, N) SEL(N, XS) -> U41'(tt, N, XS) SND(pair(X, Y)) -> U51'(tt, Y) SPLITAT(s(N), cons(X, XS)) -> U61'(tt, N, X, XS) TAIL(cons(N, XS)) -> U71'(tt, XS) TAKE(N, XS) -> U81'(tt, N, XS) The collapsing dependency pairs are DP_c: U12'(tt, N, XS) -> N U12'(tt, N, XS) -> XS U22'(tt, X) -> X U32'(tt, N) -> N U42'(tt, N, XS) -> N U42'(tt, N, XS) -> XS U52'(tt, Y) -> Y U63'(tt, N, X, XS) -> N U63'(tt, N, X, XS) -> XS U64'(pair(YS, ZS), X) -> X U72'(tt, XS) -> XS U82'(tt, N, XS) -> N U82'(tt, N, XS) -> XS The hidden terms of R are: natsFrom(s(x0)) Every hiding context is built from: aprove.DPFramework.CSDPProblem.QCSDPProblem$1@62fb6d85 aprove.DPFramework.CSDPProblem.QCSDPProblem$1@391070fa Hence, the new unhiding pairs DP_u are : U12'(tt, N, XS) -> U(N) U12'(tt, N, XS) -> U(XS) U22'(tt, X) -> U(X) U32'(tt, N) -> U(N) U42'(tt, N, XS) -> U(N) U42'(tt, N, XS) -> U(XS) U52'(tt, Y) -> U(Y) U63'(tt, N, X, XS) -> U(N) U63'(tt, N, X, XS) -> U(XS) U64'(pair(YS, ZS), X) -> U(X) U72'(tt, XS) -> U(XS) U82'(tt, N, XS) -> U(N) U82'(tt, N, XS) -> U(XS) U(s(x_0)) -> U(x_0) U(natsFrom(x_0)) -> U(x_0) U(natsFrom(s(x0))) -> NATSFROM(s(x0)) The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The set Q consists of the following terms: U11(tt, x0, x1) U12(tt, x0, x1) U21(tt, x0) U22(tt, x0) U31(tt, x0) U32(tt, x0) U41(tt, x0, x1) U42(tt, x0, x1) U51(tt, x0) U52(tt, x0) U61(tt, x0, x1, x2) U62(tt, x0, x1, x2) U63(tt, x0, x1, x2) U64(pair(x0, x1), x2) U71(tt, x0) U72(tt, x0) U81(tt, x0, x1) U82(tt, x0, x1) afterNth(x0, x1) fst(pair(x0, x1)) head(cons(x0, x1)) natsFrom(x0) sel(x0, x1) snd(pair(x0, x1)) splitAt(0, x0) splitAt(s(x0), cons(x1, x2)) tail(cons(x0, x1)) take(x0, x1) ---------------------------------------- (5) QCSDependencyGraphProof (EQUIVALENT) The approximation of the Context-Sensitive Dependency Graph [LPAR08] contains 2 SCCs with 35 less nodes. ---------------------------------------- (6) Complex Obligation (AND) ---------------------------------------- (7) Obligation: Q-restricted context-sensitive dependency pair problem: The symbols in {snd_1, splitAt_2, head_1, afterNth_2, pair_2, fst_1, natsFrom_1, s_1, sel_2, tail_1, take_2} are replacing on all positions. For all symbols f in {U11_3, U12_3, U21_2, U22_2, U31_2, U32_2, U41_3, U42_3, U51_2, U52_2, U61_4, U62_4, U63_4, U64_2, cons_2, U71_2, U72_2, U81_3, U82_3} we have mu(f) = {1}. The symbols in {U_1} are not replacing on any position. The TRS P consists of the following rules: U(s(x_0)) -> U(x_0) U(natsFrom(x_0)) -> U(x_0) The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The set Q consists of the following terms: U11(tt, x0, x1) U12(tt, x0, x1) U21(tt, x0) U22(tt, x0) U31(tt, x0) U32(tt, x0) U41(tt, x0, x1) U42(tt, x0, x1) U51(tt, x0) U52(tt, x0) U61(tt, x0, x1, x2) U62(tt, x0, x1, x2) U63(tt, x0, x1, x2) U64(pair(x0, x1), x2) U71(tt, x0) U72(tt, x0) U81(tt, x0, x1) U82(tt, x0, x1) afterNth(x0, x1) fst(pair(x0, x1)) head(cons(x0, x1)) natsFrom(x0) sel(x0, x1) snd(pair(x0, x1)) splitAt(0, x0) splitAt(s(x0), cons(x1, x2)) tail(cons(x0, x1)) take(x0, x1) ---------------------------------------- (8) QCSDPSubtermProof (EQUIVALENT) We use the subterm processor [DA_EMMES]. The following pairs can be oriented strictly and are deleted. U(s(x_0)) -> U(x_0) U(natsFrom(x_0)) -> U(x_0) The remaining pairs can at least be oriented weakly. none Used ordering: Combined order from the following AFS and order. U(x1) = x1 Subterm Order ---------------------------------------- (9) Obligation: Q-restricted context-sensitive dependency pair problem: The symbols in {snd_1, splitAt_2, head_1, afterNth_2, pair_2, fst_1, natsFrom_1, s_1, sel_2, tail_1, take_2} are replacing on all positions. For all symbols f in {U11_3, U12_3, U21_2, U22_2, U31_2, U32_2, U41_3, U42_3, U51_2, U52_2, U61_4, U62_4, U63_4, U64_2, cons_2, U71_2, U72_2, U81_3, U82_3} we have mu(f) = {1}. The TRS P consists of the following rules: none The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The set Q consists of the following terms: U11(tt, x0, x1) U12(tt, x0, x1) U21(tt, x0) U22(tt, x0) U31(tt, x0) U32(tt, x0) U41(tt, x0, x1) U42(tt, x0, x1) U51(tt, x0) U52(tt, x0) U61(tt, x0, x1, x2) U62(tt, x0, x1, x2) U63(tt, x0, x1, x2) U64(pair(x0, x1), x2) U71(tt, x0) U72(tt, x0) U81(tt, x0, x1) U82(tt, x0, x1) afterNth(x0, x1) fst(pair(x0, x1)) head(cons(x0, x1)) natsFrom(x0) sel(x0, x1) snd(pair(x0, x1)) splitAt(0, x0) splitAt(s(x0), cons(x1, x2)) tail(cons(x0, x1)) take(x0, x1) ---------------------------------------- (10) PIsEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,Q,R,mu)-chain. ---------------------------------------- (11) YES ---------------------------------------- (12) Obligation: Q-restricted context-sensitive dependency pair problem: The symbols in {snd_1, splitAt_2, head_1, afterNth_2, pair_2, fst_1, natsFrom_1, s_1, sel_2, tail_1, take_2, SPLITAT_2} are replacing on all positions. For all symbols f in {U11_3, U12_3, U21_2, U22_2, U31_2, U32_2, U41_3, U42_3, U51_2, U52_2, U61_4, U62_4, U63_4, U64_2, cons_2, U71_2, U72_2, U81_3, U82_3, U62'_4, U61'_4, U63'_4} we have mu(f) = {1}. The TRS P consists of the following rules: U61'(tt, N, X, XS) -> U62'(tt, N, X, XS) U62'(tt, N, X, XS) -> U63'(tt, N, X, XS) U63'(tt, N, X, XS) -> SPLITAT(N, XS) SPLITAT(s(N), cons(X, XS)) -> U61'(tt, N, X, XS) The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The set Q consists of the following terms: U11(tt, x0, x1) U12(tt, x0, x1) U21(tt, x0) U22(tt, x0) U31(tt, x0) U32(tt, x0) U41(tt, x0, x1) U42(tt, x0, x1) U51(tt, x0) U52(tt, x0) U61(tt, x0, x1, x2) U62(tt, x0, x1, x2) U63(tt, x0, x1, x2) U64(pair(x0, x1), x2) U71(tt, x0) U72(tt, x0) U81(tt, x0, x1) U82(tt, x0, x1) afterNth(x0, x1) fst(pair(x0, x1)) head(cons(x0, x1)) natsFrom(x0) sel(x0, x1) snd(pair(x0, x1)) splitAt(0, x0) splitAt(s(x0), cons(x1, x2)) tail(cons(x0, x1)) take(x0, x1) ---------------------------------------- (13) QCSDPSubtermProof (EQUIVALENT) We use the subterm processor [DA_EMMES]. The following pairs can be oriented strictly and are deleted. SPLITAT(s(N), cons(X, XS)) -> U61'(tt, N, X, XS) The remaining pairs can at least be oriented weakly. U61'(tt, N, X, XS) -> U62'(tt, N, X, XS) U62'(tt, N, X, XS) -> U63'(tt, N, X, XS) U63'(tt, N, X, XS) -> SPLITAT(N, XS) Used ordering: Combined order from the following AFS and order. U62'(x1, x2, x3, x4) = x2 U61'(x1, x2, x3, x4) = x2 U63'(x1, x2, x3, x4) = x2 SPLITAT(x1, x2) = x1 Subterm Order ---------------------------------------- (14) Obligation: Q-restricted context-sensitive dependency pair problem: The symbols in {snd_1, splitAt_2, head_1, afterNth_2, pair_2, fst_1, natsFrom_1, s_1, sel_2, tail_1, take_2, SPLITAT_2} are replacing on all positions. For all symbols f in {U11_3, U12_3, U21_2, U22_2, U31_2, U32_2, U41_3, U42_3, U51_2, U52_2, U61_4, U62_4, U63_4, U64_2, cons_2, U71_2, U72_2, U81_3, U82_3, U62'_4, U61'_4, U63'_4} we have mu(f) = {1}. The TRS P consists of the following rules: U61'(tt, N, X, XS) -> U62'(tt, N, X, XS) U62'(tt, N, X, XS) -> U63'(tt, N, X, XS) U63'(tt, N, X, XS) -> SPLITAT(N, XS) The TRS R consists of the following rules: U11(tt, N, XS) -> U12(tt, N, XS) U12(tt, N, XS) -> snd(splitAt(N, XS)) U21(tt, X) -> U22(tt, X) U22(tt, X) -> X U31(tt, N) -> U32(tt, N) U32(tt, N) -> N U41(tt, N, XS) -> U42(tt, N, XS) U42(tt, N, XS) -> head(afterNth(N, XS)) U51(tt, Y) -> U52(tt, Y) U52(tt, Y) -> Y U61(tt, N, X, XS) -> U62(tt, N, X, XS) U62(tt, N, X, XS) -> U63(tt, N, X, XS) U63(tt, N, X, XS) -> U64(splitAt(N, XS), X) U64(pair(YS, ZS), X) -> pair(cons(X, YS), ZS) U71(tt, XS) -> U72(tt, XS) U72(tt, XS) -> XS U81(tt, N, XS) -> U82(tt, N, XS) U82(tt, N, XS) -> fst(splitAt(N, XS)) afterNth(N, XS) -> U11(tt, N, XS) fst(pair(X, Y)) -> U21(tt, X) head(cons(N, XS)) -> U31(tt, N) natsFrom(N) -> cons(N, natsFrom(s(N))) sel(N, XS) -> U41(tt, N, XS) snd(pair(X, Y)) -> U51(tt, Y) splitAt(0, XS) -> pair(nil, XS) splitAt(s(N), cons(X, XS)) -> U61(tt, N, X, XS) tail(cons(N, XS)) -> U71(tt, XS) take(N, XS) -> U81(tt, N, XS) The set Q consists of the following terms: U11(tt, x0, x1) U12(tt, x0, x1) U21(tt, x0) U22(tt, x0) U31(tt, x0) U32(tt, x0) U41(tt, x0, x1) U42(tt, x0, x1) U51(tt, x0) U52(tt, x0) U61(tt, x0, x1, x2) U62(tt, x0, x1, x2) U63(tt, x0, x1, x2) U64(pair(x0, x1), x2) U71(tt, x0) U72(tt, x0) U81(tt, x0, x1) U82(tt, x0, x1) afterNth(x0, x1) fst(pair(x0, x1)) head(cons(x0, x1)) natsFrom(x0) sel(x0, x1) snd(pair(x0, x1)) splitAt(0, x0) splitAt(s(x0), cons(x1, x2)) tail(cons(x0, x1)) take(x0, x1) ---------------------------------------- (15) QCSDependencyGraphProof (EQUIVALENT) The approximation of the Context-Sensitive Dependency Graph [LPAR08] contains 0 SCCs with 3 less nodes. ---------------------------------------- (16) TRUE