/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: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination w.r.t. Q of the given QTRS could be proven: (0) QTRS (1) QTRSToCSRProof [EQUIVALENT, 0 ms] (2) CSR (3) CSRRRRProof [EQUIVALENT, 31 ms] (4) CSR (5) CSRRRRProof [EQUIVALENT, 0 ms] (6) CSR (7) CSRRRRProof [EQUIVALENT, 0 ms] (8) CSR (9) RisEmptyProof [EQUIVALENT, 2 ms] (10) YES ---------------------------------------- (0) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: active(U11(tt, M, N)) -> mark(U12(tt, M, N)) active(U12(tt, M, N)) -> mark(s(plus(N, M))) active(plus(N, 0)) -> mark(N) active(plus(N, s(M))) -> mark(U11(tt, M, N)) active(U11(X1, X2, X3)) -> U11(active(X1), X2, X3) active(U12(X1, X2, X3)) -> U12(active(X1), X2, X3) active(s(X)) -> s(active(X)) active(plus(X1, X2)) -> plus(active(X1), X2) active(plus(X1, X2)) -> plus(X1, active(X2)) U11(mark(X1), X2, X3) -> mark(U11(X1, X2, X3)) U12(mark(X1), X2, X3) -> mark(U12(X1, X2, X3)) s(mark(X)) -> mark(s(X)) plus(mark(X1), X2) -> mark(plus(X1, X2)) plus(X1, mark(X2)) -> mark(plus(X1, X2)) proper(U11(X1, X2, X3)) -> U11(proper(X1), proper(X2), proper(X3)) proper(tt) -> ok(tt) proper(U12(X1, X2, X3)) -> U12(proper(X1), proper(X2), proper(X3)) proper(s(X)) -> s(proper(X)) proper(plus(X1, X2)) -> plus(proper(X1), proper(X2)) proper(0) -> ok(0) U11(ok(X1), ok(X2), ok(X3)) -> ok(U11(X1, X2, X3)) U12(ok(X1), ok(X2), ok(X3)) -> ok(U12(X1, X2, X3)) s(ok(X)) -> ok(s(X)) plus(ok(X1), ok(X2)) -> ok(plus(X1, X2)) top(mark(X)) -> top(proper(X)) top(ok(X)) -> top(active(X)) Q is empty. ---------------------------------------- (1) QTRSToCSRProof (EQUIVALENT) The following Q TRS is given: Q restricted rewrite system: The TRS R consists of the following rules: active(U11(tt, M, N)) -> mark(U12(tt, M, N)) active(U12(tt, M, N)) -> mark(s(plus(N, M))) active(plus(N, 0)) -> mark(N) active(plus(N, s(M))) -> mark(U11(tt, M, N)) active(U11(X1, X2, X3)) -> U11(active(X1), X2, X3) active(U12(X1, X2, X3)) -> U12(active(X1), X2, X3) active(s(X)) -> s(active(X)) active(plus(X1, X2)) -> plus(active(X1), X2) active(plus(X1, X2)) -> plus(X1, active(X2)) U11(mark(X1), X2, X3) -> mark(U11(X1, X2, X3)) U12(mark(X1), X2, X3) -> mark(U12(X1, X2, X3)) s(mark(X)) -> mark(s(X)) plus(mark(X1), X2) -> mark(plus(X1, X2)) plus(X1, mark(X2)) -> mark(plus(X1, X2)) proper(U11(X1, X2, X3)) -> U11(proper(X1), proper(X2), proper(X3)) proper(tt) -> ok(tt) proper(U12(X1, X2, X3)) -> U12(proper(X1), proper(X2), proper(X3)) proper(s(X)) -> s(proper(X)) proper(plus(X1, X2)) -> plus(proper(X1), proper(X2)) proper(0) -> ok(0) U11(ok(X1), ok(X2), ok(X3)) -> ok(U11(X1, X2, X3)) U12(ok(X1), ok(X2), ok(X3)) -> ok(U12(X1, X2, X3)) s(ok(X)) -> ok(s(X)) plus(ok(X1), ok(X2)) -> ok(plus(X1, X2)) top(mark(X)) -> top(proper(X)) top(ok(X)) -> top(active(X)) Q is empty. Special symbols used for the transformation (see [GM04]): top: top_1, active: active_1, mark: mark_1, ok: ok_1, proper: proper_1 The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} s: {1} plus: {1, 2} 0: empty set The QTRS contained all rules created by the complete Giesl-Middeldorp transformation. Therefore, the inverse transformation is complete (and sound). ---------------------------------------- (2) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, M, N) -> U12(tt, M, N) U12(tt, M, N) -> s(plus(N, M)) plus(N, 0) -> N plus(N, s(M)) -> U11(tt, M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {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, M, N) -> U12(tt, M, N) U12(tt, M, N) -> s(plus(N, M)) plus(N, 0) -> N plus(N, s(M)) -> U11(tt, M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} s: {1} plus: {1, 2} 0: empty set Used ordering: Polynomial interpretation [POLO]: POL(0) = 1 POL(U11(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(U12(x_1, x_2, x_3)) = x_1 + x_2 + x_3 POL(plus(x_1, x_2)) = 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: plus(N, 0) -> N ---------------------------------------- (4) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, M, N) -> U12(tt, M, N) U12(tt, M, N) -> s(plus(N, M)) plus(N, s(M)) -> U11(tt, M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} s: {1} plus: {1, 2} ---------------------------------------- (5) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, M, N) -> U12(tt, M, N) U12(tt, M, N) -> s(plus(N, M)) plus(N, s(M)) -> U11(tt, M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} s: {1} plus: {1, 2} Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1, x_2, x_3)) = 2 + x_1 + 2*x_2 + 2*x_3 POL(U12(x_1, x_2, x_3)) = 2 + x_1 + 2*x_2 + 2*x_3 POL(plus(x_1, x_2)) = 2*x_1 + 2*x_2 POL(s(x_1)) = 2 + 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: U12(tt, M, N) -> s(plus(N, M)) plus(N, s(M)) -> U11(tt, M, N) ---------------------------------------- (6) Obligation: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, M, N) -> U12(tt, M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} ---------------------------------------- (7) CSRRRRProof (EQUIVALENT) The following CSR is given: Context-sensitive rewrite system: The TRS R consists of the following rules: U11(tt, M, N) -> U12(tt, M, N) The replacement map contains the following entries: U11: {1} tt: empty set U12: {1} Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1, x_2, x_3)) = 1 + 2*x_1 + 2*x_2 + 2*x_3 POL(U12(x_1, x_2, x_3)) = x_1 + 2*x_2 + 2*x_3 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, M, N) -> U12(tt, M, N) ---------------------------------------- (8) Obligation: Context-sensitive rewrite system: R is empty. ---------------------------------------- (9) RisEmptyProof (EQUIVALENT) The CSR R is empty. Hence, termination is trivially proven. ---------------------------------------- (10) YES