/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, 0 ms] (4) CSR (5) CSRRRRProof [EQUIVALENT, 7 ms] (6) CSR (7) CSRRRRProof [EQUIVALENT, 0 ms] (8) CSR (9) CSRRRRProof [EQUIVALENT, 5 ms] (10) CSR (11) RisEmptyProof [EQUIVALENT, 0 ms] (12) YES ---------------------------------------- (0) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, N) -> N U21(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, 0) -> U11(isNat(N), N) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 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, N) -> N U21(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, 0) -> U11(isNat(N), N) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 0 POL(U11(x_1, x_2)) = 1 + x_1 + x_2 POL(U21(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(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: U11(tt, N) -> N ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U21(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, 0) -> U11(isNat(N), N) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set ---------------------------------------- (3) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U21(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, 0) -> U11(isNat(N), N) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: U11: {1} tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2)) = 2*x_1 + x_2 POL(U21(x_1, x_2, x_3)) = 2*x_1 + x_2 + x_3 POL(and(x_1, x_2)) = 2*x_1 + 2*x_2 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: plus(N, 0) -> U11(isNat(N), N) ---------------------------------------- (4) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U21(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set ---------------------------------------- (5) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U21(tt, M, N) -> s(plus(N, M)) and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 2 POL(U21(x_1, x_2, x_3)) = 2 + 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(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: U21(tt, M, N) -> s(plus(N, M)) ---------------------------------------- (6) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set ---------------------------------------- (7) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) The replacement map contains the following entries: tt: empty set U21: {1} s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 2 POL(U21(x_1, x_2, x_3)) = 2*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(plus(x_1, x_2)) = 2 + 2*x_1 + x_2 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: plus(N, s(M)) -> U21(and(isNat(M), isNat(N)), M, N) ---------------------------------------- (8) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) The replacement map contains the following entries: tt: empty set s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set ---------------------------------------- (9) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) The replacement map contains the following entries: tt: empty set s: {1} plus: {1, 2} and: {1} isNat: empty set 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(and(x_1, x_2)) = x_1 + x_2 POL(isNat(x_1)) = 1 + 2*x_1 POL(plus(x_1, x_2)) = 2 + 2*x_1 + 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: and(tt, X) -> X isNat(0) -> tt isNat(plus(V1, V2)) -> and(isNat(V1), isNat(V2)) isNat(s(V1)) -> isNat(V1) ---------------------------------------- (10) Obligation: Context-sensitive rewrite system: R is empty. ---------------------------------------- (11) RisEmptyProof (EQUIVALENT) The CSR R is empty. Hence, termination is trivially proven. ---------------------------------------- (12) YES