YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.xml # AProVE Commit ID: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Termination of the given ETRS could be proven: (0) ETRS (1) EquationalDependencyPairsProof [EQUIVALENT, 0 ms] (2) EDP (3) EDependencyGraphProof [EQUIVALENT, 0 ms] (4) AND (5) EDP (6) ESharpUsableEquationsProof [EQUIVALENT, 0 ms] (7) EDP (8) EUsableRulesReductionPairsProof [EQUIVALENT, 0 ms] (9) EDP (10) PisEmptyProof [EQUIVALENT, 0 ms] (11) YES (12) EDP (13) ESharpUsableEquationsProof [EQUIVALENT, 0 ms] (14) EDP (15) EDPPoloProof [EQUIVALENT, 0 ms] (16) EDP (17) PisEmptyProof [EQUIVALENT, 0 ms] (18) YES (19) EDP (20) ESharpUsableEquationsProof [EQUIVALENT, 0 ms] (21) EDP (22) EUsableRulesReductionPairsProof [EQUIVALENT, 4 ms] (23) EDP (24) ERuleRemovalProof [EQUIVALENT, 0 ms] (25) EDP (26) EDPPoloProof [EQUIVALENT, 2 ms] (27) EDP (28) PisEmptyProof [EQUIVALENT, 0 ms] (29) YES (30) EDP (31) ESharpUsableEquationsProof [EQUIVALENT, 0 ms] (32) EDP (33) EDPPoloProof [EQUIVALENT, 23 ms] (34) EDP (35) EDPPoloProof [EQUIVALENT, 21 ms] (36) EDP (37) PisEmptyProof [EQUIVALENT, 0 ms] (38) YES ---------------------------------------- (0) Obligation: Equational rewrite system: The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) ---------------------------------------- (1) EquationalDependencyPairsProof (EQUIVALENT) Using Dependency Pairs [AG00,DA_STEIN] we result in the following initial EDP problem: The TRS P consists of the following rules: PLUS(x, s(y)) -> PLUS(x, y) TIMES(x, s(y)) -> PLUS(times(x, y), x) TIMES(x, s(y)) -> TIMES(x, y) MINUS(s(x), s(y)) -> MINUS(x, y) DIV(s(x), s(y)) -> DIV(minus(x, y), s(y)) DIV(s(x), s(y)) -> MINUS(x, y) PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) PLUS(plus(x, s(y)), ext) -> PLUS(x, y) TIMES(times(x, 0), ext) -> TIMES(0, ext) TIMES(times(x, s(y)), ext) -> TIMES(plus(times(x, y), x), ext) TIMES(times(x, s(y)), ext) -> PLUS(times(x, y), x) TIMES(times(x, s(y)), ext) -> TIMES(x, y) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (2) Obligation: The TRS P consists of the following rules: PLUS(x, s(y)) -> PLUS(x, y) TIMES(x, s(y)) -> PLUS(times(x, y), x) TIMES(x, s(y)) -> TIMES(x, y) MINUS(s(x), s(y)) -> MINUS(x, y) DIV(s(x), s(y)) -> DIV(minus(x, y), s(y)) DIV(s(x), s(y)) -> MINUS(x, y) PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) PLUS(plus(x, s(y)), ext) -> PLUS(x, y) TIMES(times(x, 0), ext) -> TIMES(0, ext) TIMES(times(x, s(y)), ext) -> TIMES(plus(times(x, y), x), ext) TIMES(times(x, s(y)), ext) -> PLUS(times(x, y), x) TIMES(times(x, s(y)), ext) -> TIMES(x, y) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (3) EDependencyGraphProof (EQUIVALENT) The approximation of the Equational Dependency Graph [DA_STEIN] contains 4 SCCs with 3 less nodes. ---------------------------------------- (4) Complex Obligation (AND) ---------------------------------------- (5) Obligation: The TRS P consists of the following rules: MINUS(s(x), s(y)) -> MINUS(x, y) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (6) ESharpUsableEquationsProof (EQUIVALENT) We can delete the following equations of E# with the esharp usable equations processor[DA_STEIN]: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) ---------------------------------------- (7) Obligation: The TRS P consists of the following rules: MINUS(s(x), s(y)) -> MINUS(x, y) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) E# is empty. We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (8) EUsableRulesReductionPairsProof (EQUIVALENT) By using the usable rules and equations with reduction pair processor [DA_STEIN] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules can be oriented non-strictly, the usable equations and the esharp equations can be oriented equivalently. All non-usable rules and equations are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well. The following dependency pairs can be deleted: MINUS(s(x), s(y)) -> MINUS(x, y) The following rules are removed from R: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The following equations are removed from E: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) Used ordering: POLO with Polynomial interpretation [POLO]: POL(MINUS(x_1, x_2)) = 3*x_1 + 3*x_2 POL(s(x_1)) = x_1 ---------------------------------------- (9) Obligation: P is empty. R is empty. E is empty. E# is empty. We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (10) PisEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,E#,R,E) chain. ---------------------------------------- (11) YES ---------------------------------------- (12) Obligation: The TRS P consists of the following rules: DIV(s(x), s(y)) -> DIV(minus(x, y), s(y)) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (13) ESharpUsableEquationsProof (EQUIVALENT) We can delete the following equations of E# with the esharp usable equations processor[DA_STEIN]: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) ---------------------------------------- (14) Obligation: The TRS P consists of the following rules: DIV(s(x), s(y)) -> DIV(minus(x, y), s(y)) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) E# is empty. We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (15) EDPPoloProof (EQUIVALENT) We use the reduction pair processor [DA_STEIN] with a polynomial ordering [POLO]. All Dependency Pairs of this DP problem can be strictly oriented. DIV(s(x), s(y)) -> DIV(minus(x, y), s(y)) With the implicit AFS we had to orient the following set of usable rules of R non-strictly. minus(s(x), s(y)) -> minus(x, y) minus(x, 0) -> x There is no equation of E#. With the implicit AFS there is no usable equation of E. Used ordering: POLO with Polynomial interpretation [POLO]: POL(0) = 0 POL(DIV(x_1, x_2)) = 2*x_1 POL(minus(x_1, x_2)) = 2*x_1 POL(s(x_1)) = 2 + 2*x_1 ---------------------------------------- (16) Obligation: P is empty. The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) E# is empty. We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (17) PisEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,E#,R,E) chain. ---------------------------------------- (18) YES ---------------------------------------- (19) Obligation: The TRS P consists of the following rules: PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) PLUS(plus(x, s(y)), ext) -> PLUS(x, y) PLUS(x, s(y)) -> PLUS(x, y) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (20) ESharpUsableEquationsProof (EQUIVALENT) We can delete the following equations of E# with the esharp usable equations processor[DA_STEIN]: TIMES(x, y) == TIMES(y, x) TIMES(times(x, y), z) == TIMES(x, times(y, z)) ---------------------------------------- (21) Obligation: The TRS P consists of the following rules: PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) PLUS(plus(x, s(y)), ext) -> PLUS(x, y) PLUS(x, s(y)) -> PLUS(x, y) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) PLUS(x, y) == PLUS(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (22) EUsableRulesReductionPairsProof (EQUIVALENT) By using the usable rules and equations with reduction pair processor [DA_STEIN] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules can be oriented non-strictly, the usable equations and the esharp equations can be oriented equivalently. All non-usable rules and equations are removed, and those dependency pairs and usable rules that have been oriented strictly or contain non-usable symbols in their left-hand side are removed as well. No dependency pairs are removed. The following rules are removed from R: plus(x, 0) -> x times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The following equations are removed from E: times(x, y) == times(y, x) times(times(x, y), z) == times(x, times(y, z)) Used ordering: POLO with Polynomial interpretation [POLO]: POL(0) = 0 POL(PLUS(x_1, x_2)) = x_1 + x_2 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = x_1 ---------------------------------------- (23) Obligation: The TRS P consists of the following rules: PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) PLUS(plus(x, s(y)), ext) -> PLUS(x, y) PLUS(x, s(y)) -> PLUS(x, y) The TRS R consists of the following rules: plus(x, s(y)) -> s(plus(x, y)) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) The set E consists of the following equations: plus(plus(x, y), z) == plus(x, plus(y, z)) plus(x, y) == plus(y, x) The set E# consists of the following equations: PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) PLUS(x, y) == PLUS(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (24) ERuleRemovalProof (EQUIVALENT) By using the rule removal processor [DA_STEIN] with the following polynomial ordering [POLO], at least one Dependency Pair or term rewrite system rule of this EDP problem can be strictly oriented. Strictly oriented dependency pairs: PLUS(plus(x, s(y)), ext) -> PLUS(x, y) PLUS(x, s(y)) -> PLUS(x, y) Used ordering: POLO with Polynomial interpretation [POLO]: POL(PLUS(x_1, x_2)) = x_1 + x_2 POL(plus(x_1, x_2)) = 2 + x_1 + x_2 POL(s(x_1)) = 2 + x_1 ---------------------------------------- (25) Obligation: The TRS P consists of the following rules: PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) The TRS R consists of the following rules: plus(x, s(y)) -> s(plus(x, y)) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) The set E consists of the following equations: plus(plus(x, y), z) == plus(x, plus(y, z)) plus(x, y) == plus(y, x) The set E# consists of the following equations: PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) PLUS(x, y) == PLUS(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (26) EDPPoloProof (EQUIVALENT) We use the reduction pair processor [DA_STEIN] with a polynomial ordering [POLO]. All Dependency Pairs of this DP problem can be strictly oriented. PLUS(plus(x, s(y)), ext) -> PLUS(s(plus(x, y)), ext) With the implicit AFS we had to orient the following set of usable rules of R non-strictly. plus(x, s(y)) -> s(plus(x, y)) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) We had to orient the following equations of E# equivalently. PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) PLUS(x, y) == PLUS(y, x) With the implicit AFS we had to orient the following usable equations of E equivalently. plus(plus(x, y), z) == plus(x, plus(y, z)) plus(x, y) == plus(y, x) Used ordering: POLO with Polynomial interpretation [POLO]: POL(PLUS(x_1, x_2)) = x_1 + x_2 POL(plus(x_1, x_2)) = 1 + x_1 + x_2 POL(s(x_1)) = 0 ---------------------------------------- (27) Obligation: P is empty. The TRS R consists of the following rules: plus(x, s(y)) -> s(plus(x, y)) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) The set E consists of the following equations: plus(plus(x, y), z) == plus(x, plus(y, z)) plus(x, y) == plus(y, x) The set E# consists of the following equations: PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) PLUS(x, y) == PLUS(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (28) PisEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,E#,R,E) chain. ---------------------------------------- (29) YES ---------------------------------------- (30) Obligation: The TRS P consists of the following rules: TIMES(times(x, s(y)), ext) -> TIMES(plus(times(x, y), x), ext) TIMES(times(x, s(y)), ext) -> TIMES(x, y) TIMES(x, s(y)) -> TIMES(x, y) TIMES(times(x, 0), ext) -> TIMES(0, ext) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: PLUS(x, y) == PLUS(y, x) TIMES(x, y) == TIMES(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) TIMES(times(x, y), z) == TIMES(x, times(y, z)) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (31) ESharpUsableEquationsProof (EQUIVALENT) We can delete the following equations of E# with the esharp usable equations processor[DA_STEIN]: PLUS(x, y) == PLUS(y, x) PLUS(plus(x, y), z) == PLUS(x, plus(y, z)) ---------------------------------------- (32) Obligation: The TRS P consists of the following rules: TIMES(times(x, s(y)), ext) -> TIMES(plus(times(x, y), x), ext) TIMES(times(x, s(y)), ext) -> TIMES(x, y) TIMES(x, s(y)) -> TIMES(x, y) TIMES(times(x, 0), ext) -> TIMES(0, ext) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: TIMES(times(x, y), z) == TIMES(x, times(y, z)) TIMES(x, y) == TIMES(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (33) EDPPoloProof (EQUIVALENT) We use the reduction pair processor [DA_STEIN] with a polynomial ordering [POLO]. The following set of Dependency Pairs of this DP problem can be strictly oriented. TIMES(times(x, s(y)), ext) -> TIMES(plus(times(x, y), x), ext) TIMES(times(x, s(y)), ext) -> TIMES(x, y) TIMES(x, s(y)) -> TIMES(x, y) The remaining Dependency Pairs were at least non-strictly oriented. TIMES(times(x, 0), ext) -> TIMES(0, ext) With the implicit AFS we had to orient the following set of usable rules of R non-strictly. times(x, s(y)) -> plus(times(x, y), x) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) times(times(x, 0), ext) -> times(0, ext) times(x, 0) -> 0 plus(x, s(y)) -> s(plus(x, y)) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) plus(x, 0) -> x We had to orient the following equations of E# equivalently. TIMES(times(x, y), z) == TIMES(x, times(y, z)) TIMES(x, y) == TIMES(y, x) With the implicit AFS we had to orient the following usable equations of E equivalently. times(x, y) == times(y, x) times(times(x, y), z) == times(x, times(y, z)) plus(plus(x, y), z) == plus(x, plus(y, z)) plus(x, y) == plus(y, x) Used ordering: POLO with Polynomial interpretation [POLO]: POL(0) = 0 POL(TIMES(x_1, x_2)) = x_1 + x_1*x_2 + x_2 POL(plus(x_1, x_2)) = x_1 + x_2 POL(s(x_1)) = 1 + x_1 POL(times(x_1, x_2)) = x_1 + x_1*x_2 + x_2 ---------------------------------------- (34) Obligation: The TRS P consists of the following rules: TIMES(times(x, 0), ext) -> TIMES(0, ext) The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: TIMES(times(x, y), z) == TIMES(x, times(y, z)) TIMES(x, y) == TIMES(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (35) EDPPoloProof (EQUIVALENT) We use the reduction pair processor [DA_STEIN] with a polynomial ordering [POLO]. All Dependency Pairs of this DP problem can be strictly oriented. TIMES(times(x, 0), ext) -> TIMES(0, ext) With the implicit AFS we had to orient the following set of usable rules of R non-strictly. times(x, s(y)) -> plus(times(x, y), x) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) times(times(x, 0), ext) -> times(0, ext) times(x, 0) -> 0 plus(x, s(y)) -> s(plus(x, y)) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) plus(x, 0) -> x We had to orient the following equations of E# equivalently. TIMES(times(x, y), z) == TIMES(x, times(y, z)) TIMES(x, y) == TIMES(y, x) With the implicit AFS we had to orient the following usable equations of E equivalently. times(x, y) == times(y, x) times(times(x, y), z) == times(x, times(y, z)) plus(plus(x, y), z) == plus(x, plus(y, z)) plus(x, y) == plus(y, x) Used ordering: POLO with Polynomial interpretation [POLO]: POL(0) = 2 POL(TIMES(x_1, x_2)) = 2*x_1 + x_1*x_2 + 2*x_2 POL(plus(x_1, x_2)) = 2 + x_1 + x_2 POL(s(x_1)) = 2 + x_1 POL(times(x_1, x_2)) = 2 + 2*x_1 + x_1*x_2 + 2*x_2 ---------------------------------------- (36) Obligation: P is empty. The TRS R consists of the following rules: plus(x, 0) -> x plus(x, s(y)) -> s(plus(x, y)) times(x, 0) -> 0 times(x, s(y)) -> plus(times(x, y), x) minus(x, 0) -> x minus(s(x), s(y)) -> minus(x, y) div(0, s(y)) -> 0 div(s(x), s(y)) -> s(div(minus(x, y), s(y))) plus(plus(x, s(y)), ext) -> plus(s(plus(x, y)), ext) times(times(x, 0), ext) -> times(0, ext) times(times(x, s(y)), ext) -> times(plus(times(x, y), x), ext) The set E consists of the following equations: plus(x, y) == plus(y, x) times(x, y) == times(y, x) plus(plus(x, y), z) == plus(x, plus(y, z)) times(times(x, y), z) == times(x, times(y, z)) The set E# consists of the following equations: TIMES(times(x, y), z) == TIMES(x, times(y, z)) TIMES(x, y) == TIMES(y, x) We have to consider all minimal (P,E#,R,E)-chains ---------------------------------------- (37) PisEmptyProof (EQUIVALENT) The TRS P is empty. Hence, there is no (P,E#,R,E) chain. ---------------------------------------- (38) YES