/export/starexec/sandbox/solver/bin/starexec_run_standard /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox/benchmark/theBenchmark.xml # AProVE Commit ID: c69e44bd14796315568835c1ffa2502984884775 mhark 20210624 unpublished Termination of the given CSR could be proven: (0) CSR (1) CSRRRRProof [EQUIVALENT, 93 ms] (2) CSR (3) CSRRRRProof [EQUIVALENT, 13 ms] (4) CSR (5) CSRRRRProof [EQUIVALENT, 25 ms] (6) CSR (7) CSRRRRProof [EQUIVALENT, 0 ms] (8) CSR (9) CSRRRRProof [EQUIVALENT, 10 ms] (10) CSR (11) CSRRRRProof [EQUIVALENT, 0 ms] (12) CSR (13) CSRRRRProof [EQUIVALENT, 0 ms] (14) CSR (15) CSRRRRProof [EQUIVALENT, 0 ms] (16) CSR (17) RisEmptyProof [EQUIVALENT, 0 ms] (18) YES ---------------------------------------- (0) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U31(tt, N) -> N U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) plus(N, 0) -> U31(and(isNat(N), isNatKind(N)), N) plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U31: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set ---------------------------------------- (1) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U31(tt, N) -> N U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) plus(N, 0) -> U31(and(isNat(N), isNatKind(N)), N) plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U31: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = x_1 POL(U12(x_1, x_2)) = x_1 POL(U13(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 POL(U22(x_1)) = x_1 POL(U31(x_1, x_2)) = 1 + x_1 + x_2 POL(U41(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(and(x_1, x_2)) = x_1 + x_2 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = 1 + 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: U31(tt, N) -> N ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) plus(N, 0) -> U31(and(isNat(N), isNatKind(N)), N) plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U31: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set ---------------------------------------- (3) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) plus(N, 0) -> U31(and(isNat(N), isNatKind(N)), N) plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U31: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2, x_3)) = x_1 POL(U12(x_1, x_2)) = x_1 POL(U13(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 POL(U22(x_1)) = x_1 POL(U31(x_1, x_2)) = x_1 POL(U41(x_1, x_2, x_3)) = 1 + x_1 + x_2 + x_3 POL(and(x_1, x_2)) = x_1 + x_2 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + x_2 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: plus(N, 0) -> U31(and(isNat(N), isNatKind(N)), N) ---------------------------------------- (4) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set ---------------------------------------- (5) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = 2*x_1 POL(U12(x_1, x_2)) = x_1 POL(U13(x_1)) = x_1 POL(U21(x_1, x_2)) = x_1 POL(U22(x_1)) = x_1 POL(U41(x_1, x_2, x_3)) = 1 + 2*x_1 + 2*x_2 + x_3 POL(and(x_1, x_2)) = 2*x_1 + 2*x_2 POL(isNat(x_1)) = 0 POL(isNatKind(x_1)) = 0 POL(plus(x_1, x_2)) = x_1 + 2*x_2 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: plus(N, s(M)) -> U41(and(and(isNat(M), isNatKind(M)), and(isNat(N), isNatKind(N))), M, N) ---------------------------------------- (6) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set ---------------------------------------- (7) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt U41(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} U41: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2, x_3)) = 2*x_1 POL(U12(x_1, x_2)) = 2*x_1 POL(U13(x_1)) = 2*x_1 POL(U21(x_1, x_2)) = 2*x_1 POL(U22(x_1)) = x_1 POL(U41(x_1, x_2, x_3)) = 1 + x_1 + 2*x_2 + 2*x_3 POL(and(x_1, x_2)) = 2*x_1 + 2*x_2 POL(isNat(x_1)) = 0 POL(isNatKind(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: U41(tt, M, N) -> s(plus(N, M)) ---------------------------------------- (8) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set ---------------------------------------- (9) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) U22(tt) -> tt and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} isNat: empty set U13: {1} U21: {1} U22: {1} s: {1} plus: {1, 2} and: {1} 0: empty set isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 2 POL(U11(x_1, x_2, x_3)) = 1 + x_1 + 2*x_2 + 2*x_3 POL(U12(x_1, x_2)) = 1 + x_1 + 2*x_2 POL(U13(x_1)) = 1 + x_1 POL(U21(x_1, x_2)) = x_1 + 2*x_2 POL(U22(x_1)) = x_1 POL(and(x_1, x_2)) = x_1 + x_2 POL(isNat(x_1)) = 1 + 2*x_1 POL(isNatKind(x_1)) = 1 + 2*x_1 POL(plus(x_1, x_2)) = 2 + 2*x_1 + 2*x_2 POL(s(x_1)) = 2*x_1 POL(tt) = 2 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: U11(tt, V1, V2) -> U12(isNat(V1), V2) U12(tt, V2) -> U13(isNat(V2)) U13(tt) -> tt U21(tt, V1) -> U22(isNat(V1)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> U11(and(isNatKind(V1), isNatKind(V2)), V1, V2) isNatKind(0) -> tt isNatKind(plus(V1, V2)) -> and(isNatKind(V1), isNatKind(V2)) ---------------------------------------- (10) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U22(tt) -> tt isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: tt: empty set isNat: empty set U21: {1} U22: {1} s: {1} isNatKind: empty set ---------------------------------------- (11) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U22(tt) -> tt isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: tt: empty set isNat: empty set U21: {1} U22: {1} s: {1} isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(U21(x_1, x_2)) = 1 + x_1 + x_2 POL(U22(x_1)) = 1 + x_1 POL(isNat(x_1)) = 1 + x_1 POL(isNatKind(x_1)) = 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: U22(tt) -> tt ---------------------------------------- (12) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: isNat: empty set U21: {1} s: {1} isNatKind: empty set ---------------------------------------- (13) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: isNat(s(V1)) -> U21(isNatKind(V1), V1) isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: isNat: empty set U21: {1} s: {1} isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(U21(x_1, x_2)) = x_1 POL(isNat(x_1)) = 1 + 2*x_1 POL(isNatKind(x_1)) = 0 POL(s(x_1)) = 1 + x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isNat(s(V1)) -> U21(isNatKind(V1), V1) ---------------------------------------- (14) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: s: {1} isNatKind: empty set ---------------------------------------- (15) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: isNatKind(s(V1)) -> isNatKind(V1) The replacement map contains the following entries: s: {1} isNatKind: empty set Used ordering: Polynomial interpretation [POLO]: POL(isNatKind(x_1)) = x_1 POL(s(x_1)) = 1 + x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: isNatKind(s(V1)) -> isNatKind(V1) ---------------------------------------- (16) Obligation: Context-sensitive rewrite system: R is empty. ---------------------------------------- (17) RisEmptyProof (EQUIVALENT) The CSR R is empty. Hence, termination is trivially proven. ---------------------------------------- (18) YES