/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) CSRRRRProof [EQUIVALENT, 98 ms] (2) CSR (3) CSRRRRProof [EQUIVALENT, 0 ms] (4) CSR (5) CSRRRRProof [EQUIVALENT, 11 ms] (6) CSR (7) CSRRRRProof [EQUIVALENT, 0 ms] (8) CSR (9) CSRRRRProof [EQUIVALENT, 0 ms] (10) CSR (11) CSRRRRProof [EQUIVALENT, 2 ms] (12) CSR (13) CSRRRRProof [EQUIVALENT, 0 ms] (14) CSR (15) RisEmptyProof [EQUIVALENT, 0 ms] (16) YES ---------------------------------------- (0) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U31(tt, N) -> N U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) plus(N, 0) -> U31(isNat(N), N) plus(N, s(M)) -> U41(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U31: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (1) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U31(tt, N) -> N U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) plus(N, 0) -> U31(isNat(N), N) plus(N, s(M)) -> U41(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U31: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2)) = 2*x_1 POL(U12(x_1)) = 2*x_1 POL(U21(x_1)) = 2*x_1 POL(U31(x_1, x_2)) = 2*x_1 + 2*x_2 POL(U41(x_1, x_2, x_3)) = x_1 + x_2 + 2*x_3 POL(U42(x_1, x_2, x_3)) = 2*x_1 + x_2 + 2*x_3 POL(isNat(x_1)) = 0 POL(plus(x_1, x_2)) = 2*x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: plus(N, 0) -> U31(isNat(N), N) ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U31(tt, N) -> N U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) plus(N, s(M)) -> U41(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U31: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (3) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U31(tt, N) -> N U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) plus(N, s(M)) -> U41(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U31: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2)) = x_1 POL(U12(x_1)) = x_1 POL(U21(x_1)) = x_1 POL(U31(x_1, x_2)) = x_1 + x_2 POL(U41(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U42(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(isNat(x_1)) = 1 POL(plus(x_1, x_2)) = 1 + x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U31(tt, N) -> N ---------------------------------------- (4) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) plus(N, s(M)) -> U41(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (5) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) plus(N, s(M)) -> U41(isNat(M), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 2 POL(U11(x_1, x_2)) = x_1 POL(U12(x_1)) = 2*x_1 POL(U21(x_1)) = x_1 POL(U41(x_1, x_2, x_3)) = 2 + 2*x_1 + 2*x_2 + x_3 POL(U42(x_1, x_2, x_3)) = 2 + 2*x_1 + 2*x_2 + x_3 POL(isNat(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + 2*x_2 POL(s(x_1)) = 2 + x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: plus(N, s(M)) -> U41(isNat(M), M, N) ---------------------------------------- (6) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (7) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) U42(tt, M, N) -> s(plus(N, M)) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2)) = x_1 POL(U12(x_1)) = x_1 POL(U21(x_1)) = x_1 POL(U41(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(U42(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(isNat(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U42(tt, M, N) -> s(plus(N, M)) ---------------------------------------- (8) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set ---------------------------------------- (9) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V2) -> U12(isNat(V2)) U12(tt) -> tt U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) isNat(0) -> tt isNat(plus(V1, V2)) -> U11(isNat(V1), V2) isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U21: {1} U41: {1} U42: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2)) = x_1 + x_2 POL(U12(x_1)) = x_1 POL(U21(x_1)) = 1 + x_1 POL(U41(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(U42(x_1, x_2, x_3)) = 1 + x_1 + x_2 POL(isNat(x_1)) = x_1 POL(plus(x_1, x_2)) = 1 + x_1 + x_2 POL(s(x_1)) = 1 + x_1 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U11(tt, V2) -> U12(isNat(V2)) U21(tt) -> tt U41(tt, M, N) -> U42(isNat(N), M, N) isNat(plus(V1, V2)) -> U11(isNat(V1), V2) ---------------------------------------- (10) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U12(tt) -> tt isNat(0) -> tt isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: tt: empty set U12: {1} isNat: empty set U21: {1} s: {1} 0: empty set ---------------------------------------- (11) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U12(tt) -> tt isNat(0) -> tt isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: tt: empty set U12: {1} isNat: empty set U21: {1} s: {1} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U12(x_1)) = x_1 POL(U21(x_1)) = 1 + x_1 POL(isNat(x_1)) = 1 + x_1 POL(s(x_1)) = 1 + x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isNat(0) -> tt ---------------------------------------- (12) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U12(tt) -> tt isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: tt: empty set U12: {1} isNat: empty set U21: {1} s: {1} ---------------------------------------- (13) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U12(tt) -> tt isNat(s(V1)) -> U21(isNat(V1)) The replacement map contains the following entries: tt: empty set U12: {1} isNat: empty set U21: {1} s: {1} Used ordering: Polynomial interpretation [POLO]: POL(U12(x_1)) = 1 + 2*x_1 POL(U21(x_1)) = x_1 POL(isNat(x_1)) = 2*x_1 POL(s(x_1)) = 1 + 2*x_1 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U12(tt) -> tt isNat(s(V1)) -> U21(isNat(V1)) ---------------------------------------- (14) Obligation: Context-sensitive rewrite system: R is empty. ---------------------------------------- (15) RisEmptyProof (EQUIVALENT) The CSR R is empty. Hence, termination is trivially proven. ---------------------------------------- (16) YES