/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) QTRSRRRProof [EQUIVALENT, 106 ms] (2) QTRS (3) QTRSRRRProof [EQUIVALENT, 34 ms] (4) QTRS (5) QTRSRRRProof [EQUIVALENT, 0 ms] (6) QTRS (7) QTRSRRRProof [EQUIVALENT, 2 ms] (8) QTRS (9) QTRSRRRProof [EQUIVALENT, 0 ms] (10) QTRS (11) QTRSRRRProof [EQUIVALENT, 0 ms] (12) QTRS (13) RisEmptyProof [EQUIVALENT, 0 ms] (14) YES ---------------------------------------- (0) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: active(__(__(X, Y), Z)) -> mark(__(X, __(Y, Z))) active(__(X, nil)) -> mark(X) active(__(nil, X)) -> mark(X) active(U11(tt)) -> mark(U12(tt)) active(U12(tt)) -> mark(tt) active(isNePal(__(I, __(P, I)))) -> mark(U11(tt)) mark(__(X1, X2)) -> active(__(mark(X1), mark(X2))) mark(nil) -> active(nil) mark(U11(X)) -> active(U11(mark(X))) mark(tt) -> active(tt) mark(U12(X)) -> active(U12(mark(X))) mark(isNePal(X)) -> active(isNePal(mark(X))) __(mark(X1), X2) -> __(X1, X2) __(X1, mark(X2)) -> __(X1, X2) __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(mark(X)) -> U11(X) U11(active(X)) -> U11(X) U12(mark(X)) -> U12(X) U12(active(X)) -> U12(X) isNePal(mark(X)) -> isNePal(X) isNePal(active(X)) -> isNePal(X) Q is empty. ---------------------------------------- (1) QTRSRRRProof (EQUIVALENT) Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1)) = 2 + x_1 POL(U12(x_1)) = 2*x_1 POL(__(x_1, x_2)) = 2 + x_1 + x_2 POL(active(x_1)) = x_1 POL(isNePal(x_1)) = x_1 POL(mark(x_1)) = x_1 POL(nil) = 0 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: active(__(X, nil)) -> mark(X) active(__(nil, X)) -> mark(X) active(U11(tt)) -> mark(U12(tt)) active(U12(tt)) -> mark(tt) active(isNePal(__(I, __(P, I)))) -> mark(U11(tt)) ---------------------------------------- (2) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: active(__(__(X, Y), Z)) -> mark(__(X, __(Y, Z))) mark(__(X1, X2)) -> active(__(mark(X1), mark(X2))) mark(nil) -> active(nil) mark(U11(X)) -> active(U11(mark(X))) mark(tt) -> active(tt) mark(U12(X)) -> active(U12(mark(X))) mark(isNePal(X)) -> active(isNePal(mark(X))) __(mark(X1), X2) -> __(X1, X2) __(X1, mark(X2)) -> __(X1, X2) __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(mark(X)) -> U11(X) U11(active(X)) -> U11(X) U12(mark(X)) -> U12(X) U12(active(X)) -> U12(X) isNePal(mark(X)) -> isNePal(X) isNePal(active(X)) -> isNePal(X) Q is empty. ---------------------------------------- (3) QTRSRRRProof (EQUIVALENT) Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1)) = 2*x_1 POL(U12(x_1)) = x_1 POL(__(x_1, x_2)) = 2 + 2*x_1 + x_2 POL(active(x_1)) = x_1 POL(isNePal(x_1)) = x_1 POL(mark(x_1)) = x_1 POL(nil) = 0 POL(tt) = 0 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: active(__(__(X, Y), Z)) -> mark(__(X, __(Y, Z))) ---------------------------------------- (4) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: mark(__(X1, X2)) -> active(__(mark(X1), mark(X2))) mark(nil) -> active(nil) mark(U11(X)) -> active(U11(mark(X))) mark(tt) -> active(tt) mark(U12(X)) -> active(U12(mark(X))) mark(isNePal(X)) -> active(isNePal(mark(X))) __(mark(X1), X2) -> __(X1, X2) __(X1, mark(X2)) -> __(X1, X2) __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(mark(X)) -> U11(X) U11(active(X)) -> U11(X) U12(mark(X)) -> U12(X) U12(active(X)) -> U12(X) isNePal(mark(X)) -> isNePal(X) isNePal(active(X)) -> isNePal(X) Q is empty. ---------------------------------------- (5) QTRSRRRProof (EQUIVALENT) Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1)) = 1 + 2*x_1 POL(U12(x_1)) = 1 + 2*x_1 POL(__(x_1, x_2)) = 1 + 2*x_1 + x_2 POL(active(x_1)) = x_1 POL(isNePal(x_1)) = 2*x_1 POL(mark(x_1)) = 2*x_1 POL(nil) = 1 POL(tt) = 1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: mark(__(X1, X2)) -> active(__(mark(X1), mark(X2))) mark(nil) -> active(nil) mark(U11(X)) -> active(U11(mark(X))) mark(tt) -> active(tt) mark(U12(X)) -> active(U12(mark(X))) ---------------------------------------- (6) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: mark(isNePal(X)) -> active(isNePal(mark(X))) __(mark(X1), X2) -> __(X1, X2) __(X1, mark(X2)) -> __(X1, X2) __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(mark(X)) -> U11(X) U11(active(X)) -> U11(X) U12(mark(X)) -> U12(X) U12(active(X)) -> U12(X) isNePal(mark(X)) -> isNePal(X) isNePal(active(X)) -> isNePal(X) Q is empty. ---------------------------------------- (7) QTRSRRRProof (EQUIVALENT) Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1)) = 2*x_1 POL(U12(x_1)) = 2*x_1 POL(__(x_1, x_2)) = x_1 + x_2 POL(active(x_1)) = x_1 POL(isNePal(x_1)) = 2 + 2*x_1 POL(mark(x_1)) = 2 + 2*x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: __(mark(X1), X2) -> __(X1, X2) __(X1, mark(X2)) -> __(X1, X2) U11(mark(X)) -> U11(X) U12(mark(X)) -> U12(X) isNePal(mark(X)) -> isNePal(X) ---------------------------------------- (8) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: mark(isNePal(X)) -> active(isNePal(mark(X))) __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(active(X)) -> U11(X) U12(active(X)) -> U12(X) isNePal(active(X)) -> isNePal(X) Q is empty. ---------------------------------------- (9) QTRSRRRProof (EQUIVALENT) Used ordering: Polynomial interpretation [POLO]: POL(U11(x_1)) = 2*x_1 POL(U12(x_1)) = 2*x_1 POL(__(x_1, x_2)) = x_1 + 2*x_2 POL(active(x_1)) = x_1 POL(isNePal(x_1)) = 2 + 2*x_1 POL(mark(x_1)) = 2*x_1 With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: mark(isNePal(X)) -> active(isNePal(mark(X))) ---------------------------------------- (10) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(active(X)) -> U11(X) U12(active(X)) -> U12(X) isNePal(active(X)) -> isNePal(X) Q is empty. ---------------------------------------- (11) QTRSRRRProof (EQUIVALENT) Used ordering: Knuth-Bendix order [KBO] with precedence:active_1 > isNePal_1 > U12_1 > U11_1 > ___2 and weight map: active_1=0 U11_1=1 U12_1=1 isNePal_1=1 ___2=0 The variable weight is 1With this ordering the following rules can be removed by the rule removal processor [LPAR04] because they are oriented strictly: __(active(X1), X2) -> __(X1, X2) __(X1, active(X2)) -> __(X1, X2) U11(active(X)) -> U11(X) U12(active(X)) -> U12(X) isNePal(active(X)) -> isNePal(X) ---------------------------------------- (12) Obligation: Q restricted rewrite system: R is empty. Q is empty. ---------------------------------------- (13) RisEmptyProof (EQUIVALENT) The TRS R is empty. Hence, termination is trivially proven. ---------------------------------------- (14) YES