/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) Overlay + Local Confluence [EQUIVALENT, 0 ms] (2) QTRS (3) DependencyPairsProof [EQUIVALENT, 0 ms] (4) QDP (5) DependencyGraphProof [EQUIVALENT, 0 ms] (6) AND (7) QDP (8) UsableRulesProof [EQUIVALENT, 0 ms] (9) QDP (10) QReductionProof [EQUIVALENT, 0 ms] (11) QDP (12) QDPSizeChangeProof [EQUIVALENT, 0 ms] (13) YES (14) QDP (15) UsableRulesProof [EQUIVALENT, 0 ms] (16) QDP (17) QReductionProof [EQUIVALENT, 0 ms] (18) QDP (19) QDPSizeChangeProof [EQUIVALENT, 0 ms] (20) YES (21) QDP (22) UsableRulesProof [EQUIVALENT, 0 ms] (23) QDP (24) QReductionProof [EQUIVALENT, 0 ms] (25) QDP (26) QDPSizeChangeProof [EQUIVALENT, 0 ms] (27) YES (28) QDP (29) UsableRulesProof [EQUIVALENT, 0 ms] (30) QDP (31) QReductionProof [EQUIVALENT, 0 ms] (32) QDP (33) TransformationProof [EQUIVALENT, 0 ms] (34) QDP (35) TransformationProof [EQUIVALENT, 0 ms] (36) QDP (37) UsableRulesProof [EQUIVALENT, 0 ms] (38) QDP (39) QReductionProof [EQUIVALENT, 0 ms] (40) QDP (41) RemovalProof [SOUND, 0 ms] (42) QDP (43) NonInfProof [EQUIVALENT, 18 ms] (44) AND (45) QDP (46) DependencyGraphProof [EQUIVALENT, 0 ms] (47) QDP (48) NonInfProof [EQUIVALENT, 0 ms] (49) QDP (50) DependencyGraphProof [EQUIVALENT, 0 ms] (51) TRUE (52) QDP (53) DependencyGraphProof [EQUIVALENT, 0 ms] (54) QDP (55) NonInfProof [EQUIVALENT, 9 ms] (56) QDP (57) DependencyGraphProof [EQUIVALENT, 0 ms] (58) TRUE ---------------------------------------- (0) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) Q is empty. ---------------------------------------- (1) Overlay + Local Confluence (EQUIVALENT) The TRS is overlay and locally confluent. By [NOC] we can switch to innermost. ---------------------------------------- (2) Obligation: Q restricted rewrite system: The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 ---------------------------------------- (3) DependencyPairsProof (EQUIVALENT) Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem. ---------------------------------------- (4) Obligation: Q DP problem: The TRS P consists of the following rules: TABLE -> GEN(s(0)) GEN(x) -> IF1(le(x, 10), x) GEN(x) -> LE(x, 10) GEN(x) -> 10^1 IF1(true, x) -> IF2(x, x) IF2(x, y) -> IF3(le(y, 10), x, y) IF2(x, y) -> LE(y, 10) IF2(x, y) -> 10^1 IF3(true, x, y) -> TIMES(x, y) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) LE(s(x), s(y)) -> LE(x, y) PLUS(s(x), y) -> PLUS(x, y) TIMES(s(x), y) -> PLUS(y, times(x, y)) TIMES(s(x), y) -> TIMES(x, y) The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (5) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 4 SCCs with 7 less nodes. ---------------------------------------- (6) Complex Obligation (AND) ---------------------------------------- (7) Obligation: Q DP problem: The TRS P consists of the following rules: PLUS(s(x), y) -> PLUS(x, y) The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (8) UsableRulesProof (EQUIVALENT) As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R. ---------------------------------------- (9) Obligation: Q DP problem: The TRS P consists of the following rules: PLUS(s(x), y) -> PLUS(x, y) R is empty. The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (10) QReductionProof (EQUIVALENT) We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 ---------------------------------------- (11) Obligation: Q DP problem: The TRS P consists of the following rules: PLUS(s(x), y) -> PLUS(x, y) R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (12) QDPSizeChangeProof (EQUIVALENT) By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. From the DPs we obtained the following set of size-change graphs: *PLUS(s(x), y) -> PLUS(x, y) The graph contains the following edges 1 > 1, 2 >= 2 ---------------------------------------- (13) YES ---------------------------------------- (14) Obligation: Q DP problem: The TRS P consists of the following rules: TIMES(s(x), y) -> TIMES(x, y) The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (15) UsableRulesProof (EQUIVALENT) As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R. ---------------------------------------- (16) Obligation: Q DP problem: The TRS P consists of the following rules: TIMES(s(x), y) -> TIMES(x, y) R is empty. The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (17) QReductionProof (EQUIVALENT) We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 ---------------------------------------- (18) Obligation: Q DP problem: The TRS P consists of the following rules: TIMES(s(x), y) -> TIMES(x, y) R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (19) QDPSizeChangeProof (EQUIVALENT) By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. From the DPs we obtained the following set of size-change graphs: *TIMES(s(x), y) -> TIMES(x, y) The graph contains the following edges 1 > 1, 2 >= 2 ---------------------------------------- (20) YES ---------------------------------------- (21) Obligation: Q DP problem: The TRS P consists of the following rules: LE(s(x), s(y)) -> LE(x, y) The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (22) UsableRulesProof (EQUIVALENT) As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R. ---------------------------------------- (23) Obligation: Q DP problem: The TRS P consists of the following rules: LE(s(x), s(y)) -> LE(x, y) R is empty. The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (24) QReductionProof (EQUIVALENT) We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 ---------------------------------------- (25) Obligation: Q DP problem: The TRS P consists of the following rules: LE(s(x), s(y)) -> LE(x, y) R is empty. Q is empty. We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (26) QDPSizeChangeProof (EQUIVALENT) By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem. From the DPs we obtained the following set of size-change graphs: *LE(s(x), s(y)) -> LE(x, y) The graph contains the following edges 1 > 1, 2 > 2 ---------------------------------------- (27) YES ---------------------------------------- (28) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF2(x, y) -> IF3(le(y, 10), x, y) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) GEN(x) -> IF1(le(x, 10), x) The TRS R consists of the following rules: table -> gen(s(0)) gen(x) -> if1(le(x, 10), x) if1(false, x) -> nil if1(true, x) -> if2(x, x) if2(x, y) -> if3(le(y, 10), x, y) if3(true, x, y) -> cons(entry(x, y, times(x, y)), if2(x, s(y))) if3(false, x, y) -> gen(s(x)) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) plus(0, y) -> y plus(s(x), y) -> s(plus(x, y)) times(0, y) -> 0 times(s(x), y) -> plus(y, times(x, y)) 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (29) UsableRulesProof (EQUIVALENT) As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R. ---------------------------------------- (30) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF2(x, y) -> IF3(le(y, 10), x, y) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) GEN(x) -> IF1(le(x, 10), x) The TRS R consists of the following rules: 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) The set Q consists of the following terms: table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (31) QReductionProof (EQUIVALENT) We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. table gen(x0) if1(false, x0) if1(true, x0) if2(x0, x1) if3(true, x0, x1) if3(false, x0, x1) plus(0, x0) plus(s(x0), x1) times(0, x0) times(s(x0), x1) ---------------------------------------- (32) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF2(x, y) -> IF3(le(y, 10), x, y) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) GEN(x) -> IF1(le(x, 10), x) The TRS R consists of the following rules: 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (33) TransformationProof (EQUIVALENT) By rewriting [LPAR04] the rule IF2(x, y) -> IF3(le(y, 10), x, y) at position [0,1] we obtained the following new rules [LPAR04]: (IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y),IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y)) ---------------------------------------- (34) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) GEN(x) -> IF1(le(x, 10), x) IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y) The TRS R consists of the following rules: 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (35) TransformationProof (EQUIVALENT) By rewriting [LPAR04] the rule GEN(x) -> IF1(le(x, 10), x) at position [0,1] we obtained the following new rules [LPAR04]: (GEN(x) -> IF1(le(x, s(s(s(s(s(s(s(s(s(s(0))))))))))), x),GEN(x) -> IF1(le(x, s(s(s(s(s(s(s(s(s(s(0))))))))))), x)) ---------------------------------------- (36) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y) GEN(x) -> IF1(le(x, s(s(s(s(s(s(s(s(s(s(0))))))))))), x) The TRS R consists of the following rules: 10 -> s(s(s(s(s(s(s(s(s(s(0)))))))))) le(0, y) -> true le(s(x), 0) -> false le(s(x), s(y)) -> le(x, y) The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (37) UsableRulesProof (EQUIVALENT) As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [LPAR04] we can delete all non-usable rules [FROCOS05] from R. ---------------------------------------- (38) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y) GEN(x) -> IF1(le(x, s(s(s(s(s(s(s(s(s(s(0))))))))))), x) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) 10 We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (39) QReductionProof (EQUIVALENT) We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 10 ---------------------------------------- (40) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x) -> IF2(x, x) IF3(true, x, y) -> IF2(x, s(y)) IF3(false, x, y) -> GEN(s(x)) IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y) GEN(x) -> IF1(le(x, s(s(s(s(s(s(s(s(s(s(0))))))))))), x) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (41) RemovalProof (SOUND) In the following pairs the term without variables s(s(s(s(s(s(s(s(s(s(0)))))))))) is replaced by the fresh variable x_removed. Pair: IF2(x, y) -> IF3(le(y, s(s(s(s(s(s(s(s(s(s(0))))))))))), x, y) Positions in right side of the pair: *[0,1]Pair: GEN(x) -> IF1(le(x, s(s(s(s(s(s(s(s(s(s(0))))))))))), x) Positions in right side of the pair: *[0,1]The new variable was added to all pairs as a new argument[CONREM]. ---------------------------------------- (42) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x, x_removed) -> IF2(x, x, x_removed) IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) IF3(false, x, y, x_removed) -> GEN(s(x), x_removed) GEN(x, x_removed) -> IF1(le(x, x_removed), x, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (43) NonInfProof (EQUIVALENT) The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps: Note that final constraints are written in bold face. For Pair IF1(true, x, x_removed) -> IF2(x, x, x_removed) the following chains were created: *We consider the chain GEN(x11, x12) -> IF1(le(x11, x12), x11, x12), IF1(true, x13, x14) -> IF2(x13, x13, x14) which results in the following constraint: (1) (IF1(le(x11, x12), x11, x12)=IF1(true, x13, x14) ==> IF1(true, x13, x14)_>=_IF2(x13, x13, x14)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (le(x11, x12)=true ==> IF1(true, x11, x12)_>=_IF2(x11, x11, x12)) We simplified constraint (2) using rule (V) (with possible (I) afterwards) using induction on le(x11, x12)=true which results in the following new constraints: (3) (true=true ==> IF1(true, 0, x81)_>=_IF2(0, 0, x81)) (4) (le(x83, x82)=true & (le(x83, x82)=true ==> IF1(true, x83, x82)_>=_IF2(x83, x83, x82)) ==> IF1(true, s(x83), s(x82))_>=_IF2(s(x83), s(x83), s(x82))) We simplified constraint (3) using rules (I), (II) which results in the following new constraint: (5) (IF1(true, 0, x81)_>=_IF2(0, 0, x81)) We simplified constraint (4) using rule (VI) where we applied the induction hypothesis (le(x83, x82)=true ==> IF1(true, x83, x82)_>=_IF2(x83, x83, x82)) with sigma = [ ] which results in the following new constraint: (6) (IF1(true, x83, x82)_>=_IF2(x83, x83, x82) ==> IF1(true, s(x83), s(x82))_>=_IF2(s(x83), s(x83), s(x82))) For Pair IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) the following chains were created: *We consider the chain IF1(true, x15, x16) -> IF2(x15, x15, x16), IF2(x17, x18, x19) -> IF3(le(x18, x19), x17, x18, x19) which results in the following constraint: (1) (IF2(x15, x15, x16)=IF2(x17, x18, x19) ==> IF2(x17, x18, x19)_>=_IF3(le(x18, x19), x17, x18, x19)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (IF2(x15, x15, x16)_>=_IF3(le(x15, x16), x15, x15, x16)) *We consider the chain IF3(true, x23, x24, x25) -> IF2(x23, s(x24), x25), IF2(x26, x27, x28) -> IF3(le(x27, x28), x26, x27, x28) which results in the following constraint: (1) (IF2(x23, s(x24), x25)=IF2(x26, x27, x28) ==> IF2(x26, x27, x28)_>=_IF3(le(x27, x28), x26, x27, x28)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (IF2(x23, s(x24), x25)_>=_IF3(le(s(x24), x25), x23, s(x24), x25)) For Pair IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) the following chains were created: *We consider the chain IF2(x36, x37, x38) -> IF3(le(x37, x38), x36, x37, x38), IF3(true, x39, x40, x41) -> IF2(x39, s(x40), x41) which results in the following constraint: (1) (IF3(le(x37, x38), x36, x37, x38)=IF3(true, x39, x40, x41) ==> IF3(true, x39, x40, x41)_>=_IF2(x39, s(x40), x41)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (le(x37, x38)=true ==> IF3(true, x36, x37, x38)_>=_IF2(x36, s(x37), x38)) We simplified constraint (2) using rule (V) (with possible (I) afterwards) using induction on le(x37, x38)=true which results in the following new constraints: (3) (true=true ==> IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) (4) (le(x87, x86)=true & (\/x88:le(x87, x86)=true ==> IF3(true, x88, x87, x86)_>=_IF2(x88, s(x87), x86)) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) We simplified constraint (3) using rules (I), (II) which results in the following new constraint: (5) (IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) We simplified constraint (4) using rule (VI) where we applied the induction hypothesis (\/x88:le(x87, x86)=true ==> IF3(true, x88, x87, x86)_>=_IF2(x88, s(x87), x86)) with sigma = [x88 / x36] which results in the following new constraint: (6) (IF3(true, x36, x87, x86)_>=_IF2(x36, s(x87), x86) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) For Pair IF3(false, x, y, x_removed) -> GEN(s(x), x_removed) the following chains were created: *We consider the chain IF2(x52, x53, x54) -> IF3(le(x53, x54), x52, x53, x54), IF3(false, x55, x56, x57) -> GEN(s(x55), x57) which results in the following constraint: (1) (IF3(le(x53, x54), x52, x53, x54)=IF3(false, x55, x56, x57) ==> IF3(false, x55, x56, x57)_>=_GEN(s(x55), x57)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (le(x53, x54)=false ==> IF3(false, x52, x53, x54)_>=_GEN(s(x52), x54)) We simplified constraint (2) using rule (V) (with possible (I) afterwards) using induction on le(x53, x54)=false which results in the following new constraints: (3) (le(x92, x91)=false & (\/x93:le(x92, x91)=false ==> IF3(false, x93, x92, x91)_>=_GEN(s(x93), x91)) ==> IF3(false, x52, s(x92), s(x91))_>=_GEN(s(x52), s(x91))) (4) (false=false ==> IF3(false, x52, s(x94), 0)_>=_GEN(s(x52), 0)) We simplified constraint (3) using rule (VI) where we applied the induction hypothesis (\/x93:le(x92, x91)=false ==> IF3(false, x93, x92, x91)_>=_GEN(s(x93), x91)) with sigma = [x93 / x52] which results in the following new constraint: (5) (IF3(false, x52, x92, x91)_>=_GEN(s(x52), x91) ==> IF3(false, x52, s(x92), s(x91))_>=_GEN(s(x52), s(x91))) We simplified constraint (4) using rules (I), (II) which results in the following new constraint: (6) (IF3(false, x52, s(x94), 0)_>=_GEN(s(x52), 0)) For Pair GEN(x, x_removed) -> IF1(le(x, x_removed), x, x_removed) the following chains were created: *We consider the chain IF3(false, x74, x75, x76) -> GEN(s(x74), x76), GEN(x77, x78) -> IF1(le(x77, x78), x77, x78) which results in the following constraint: (1) (GEN(s(x74), x76)=GEN(x77, x78) ==> GEN(x77, x78)_>=_IF1(le(x77, x78), x77, x78)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (GEN(s(x74), x76)_>=_IF1(le(s(x74), x76), s(x74), x76)) To summarize, we get the following constraints P__>=_ for the following pairs. *IF1(true, x, x_removed) -> IF2(x, x, x_removed) *(IF1(true, 0, x81)_>=_IF2(0, 0, x81)) *(IF1(true, x83, x82)_>=_IF2(x83, x83, x82) ==> IF1(true, s(x83), s(x82))_>=_IF2(s(x83), s(x83), s(x82))) *IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) *(IF2(x15, x15, x16)_>=_IF3(le(x15, x16), x15, x15, x16)) *(IF2(x23, s(x24), x25)_>=_IF3(le(s(x24), x25), x23, s(x24), x25)) *IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) *(IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) *(IF3(true, x36, x87, x86)_>=_IF2(x36, s(x87), x86) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) *IF3(false, x, y, x_removed) -> GEN(s(x), x_removed) *(IF3(false, x52, x92, x91)_>=_GEN(s(x52), x91) ==> IF3(false, x52, s(x92), s(x91))_>=_GEN(s(x52), s(x91))) *(IF3(false, x52, s(x94), 0)_>=_GEN(s(x52), 0)) *GEN(x, x_removed) -> IF1(le(x, x_removed), x, x_removed) *(GEN(s(x74), x76)_>=_IF1(le(s(x74), x76), s(x74), x76)) The constraints for P_> respective P_bound are constructed from P__>=_ where we just replace every occurence of "t _>=_ s" in P__>=_ by "t > s" respective "t _>=_ c". Here c stands for the fresh constant used for P_bound. Using the following integer polynomial ordering the resulting constraints can be solved Polynomial interpretation [NONINF]: POL(0) = 0 POL(GEN(x_1, x_2)) = -1 - x_1 + x_2 POL(IF1(x_1, x_2, x_3)) = -1 - x_1 - x_2 + x_3 POL(IF2(x_1, x_2, x_3)) = -1 - x_1 + x_3 POL(IF3(x_1, x_2, x_3, x_4)) = -1 - x_1 - x_2 + x_4 POL(c) = -2 POL(false) = 0 POL(le(x_1, x_2)) = 0 POL(s(x_1)) = 1 + x_1 POL(true) = 0 The following pairs are in P_>: IF3(false, x, y, x_removed) -> GEN(s(x), x_removed) The following pairs are in P_bound: IF1(true, x, x_removed) -> IF2(x, x, x_removed) The following rules are usable: true -> le(0, y) le(x, y) -> le(s(x), s(y)) false -> le(s(x), 0) ---------------------------------------- (44) Complex Obligation (AND) ---------------------------------------- (45) Obligation: Q DP problem: The TRS P consists of the following rules: IF1(true, x, x_removed) -> IF2(x, x, x_removed) IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) GEN(x, x_removed) -> IF1(le(x, x_removed), x, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (46) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 2 less nodes. ---------------------------------------- (47) Obligation: Q DP problem: The TRS P consists of the following rules: IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (48) NonInfProof (EQUIVALENT) The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps: Note that final constraints are written in bold face. For Pair IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) the following chains were created: *We consider the chain IF3(true, x23, x24, x25) -> IF2(x23, s(x24), x25), IF2(x26, x27, x28) -> IF3(le(x27, x28), x26, x27, x28) which results in the following constraint: (1) (IF2(x23, s(x24), x25)=IF2(x26, x27, x28) ==> IF2(x26, x27, x28)_>=_IF3(le(x27, x28), x26, x27, x28)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (IF2(x23, s(x24), x25)_>=_IF3(le(s(x24), x25), x23, s(x24), x25)) For Pair IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) the following chains were created: *We consider the chain IF2(x36, x37, x38) -> IF3(le(x37, x38), x36, x37, x38), IF3(true, x39, x40, x41) -> IF2(x39, s(x40), x41) which results in the following constraint: (1) (IF3(le(x37, x38), x36, x37, x38)=IF3(true, x39, x40, x41) ==> IF3(true, x39, x40, x41)_>=_IF2(x39, s(x40), x41)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (le(x37, x38)=true ==> IF3(true, x36, x37, x38)_>=_IF2(x36, s(x37), x38)) We simplified constraint (2) using rule (V) (with possible (I) afterwards) using induction on le(x37, x38)=true which results in the following new constraints: (3) (true=true ==> IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) (4) (le(x87, x86)=true & (\/x88:le(x87, x86)=true ==> IF3(true, x88, x87, x86)_>=_IF2(x88, s(x87), x86)) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) We simplified constraint (3) using rules (I), (II) which results in the following new constraint: (5) (IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) We simplified constraint (4) using rule (VI) where we applied the induction hypothesis (\/x88:le(x87, x86)=true ==> IF3(true, x88, x87, x86)_>=_IF2(x88, s(x87), x86)) with sigma = [x88 / x36] which results in the following new constraint: (6) (IF3(true, x36, x87, x86)_>=_IF2(x36, s(x87), x86) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) To summarize, we get the following constraints P__>=_ for the following pairs. *IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) *(IF2(x23, s(x24), x25)_>=_IF3(le(s(x24), x25), x23, s(x24), x25)) *IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) *(IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) *(IF3(true, x36, x87, x86)_>=_IF2(x36, s(x87), x86) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) The constraints for P_> respective P_bound are constructed from P__>=_ where we just replace every occurence of "t _>=_ s" in P__>=_ by "t > s" respective "t _>=_ c". Here c stands for the fresh constant used for P_bound. Using the following integer polynomial ordering the resulting constraints can be solved Polynomial interpretation [NONINF]: POL(0) = 0 POL(IF2(x_1, x_2, x_3)) = -1 + x_1 - x_2 + x_3 POL(IF3(x_1, x_2, x_3, x_4)) = -1 - x_1 + x_2 - x_3 + x_4 POL(c) = -2 POL(false) = 0 POL(le(x_1, x_2)) = 0 POL(s(x_1)) = 1 + x_1 POL(true) = 0 The following pairs are in P_>: IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) The following pairs are in P_bound: IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) The following rules are usable: true -> le(0, y) le(x, y) -> le(s(x), s(y)) false -> le(s(x), 0) ---------------------------------------- (49) Obligation: Q DP problem: The TRS P consists of the following rules: IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (50) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node. ---------------------------------------- (51) TRUE ---------------------------------------- (52) Obligation: Q DP problem: The TRS P consists of the following rules: IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) IF3(false, x, y, x_removed) -> GEN(s(x), x_removed) GEN(x, x_removed) -> IF1(le(x, x_removed), x, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (53) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 1 SCC with 2 less nodes. ---------------------------------------- (54) Obligation: Q DP problem: The TRS P consists of the following rules: IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (55) NonInfProof (EQUIVALENT) The DP Problem is simplified using the Induction Calculus [NONINF] with the following steps: Note that final constraints are written in bold face. For Pair IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) the following chains were created: *We consider the chain IF3(true, x23, x24, x25) -> IF2(x23, s(x24), x25), IF2(x26, x27, x28) -> IF3(le(x27, x28), x26, x27, x28) which results in the following constraint: (1) (IF2(x23, s(x24), x25)=IF2(x26, x27, x28) ==> IF2(x26, x27, x28)_>=_IF3(le(x27, x28), x26, x27, x28)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (IF2(x23, s(x24), x25)_>=_IF3(le(s(x24), x25), x23, s(x24), x25)) For Pair IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) the following chains were created: *We consider the chain IF2(x36, x37, x38) -> IF3(le(x37, x38), x36, x37, x38), IF3(true, x39, x40, x41) -> IF2(x39, s(x40), x41) which results in the following constraint: (1) (IF3(le(x37, x38), x36, x37, x38)=IF3(true, x39, x40, x41) ==> IF3(true, x39, x40, x41)_>=_IF2(x39, s(x40), x41)) We simplified constraint (1) using rules (I), (II), (III) which results in the following new constraint: (2) (le(x37, x38)=true ==> IF3(true, x36, x37, x38)_>=_IF2(x36, s(x37), x38)) We simplified constraint (2) using rule (V) (with possible (I) afterwards) using induction on le(x37, x38)=true which results in the following new constraints: (3) (true=true ==> IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) (4) (le(x87, x86)=true & (\/x88:le(x87, x86)=true ==> IF3(true, x88, x87, x86)_>=_IF2(x88, s(x87), x86)) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) We simplified constraint (3) using rules (I), (II) which results in the following new constraint: (5) (IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) We simplified constraint (4) using rule (VI) where we applied the induction hypothesis (\/x88:le(x87, x86)=true ==> IF3(true, x88, x87, x86)_>=_IF2(x88, s(x87), x86)) with sigma = [x88 / x36] which results in the following new constraint: (6) (IF3(true, x36, x87, x86)_>=_IF2(x36, s(x87), x86) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) To summarize, we get the following constraints P__>=_ for the following pairs. *IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) *(IF2(x23, s(x24), x25)_>=_IF3(le(s(x24), x25), x23, s(x24), x25)) *IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) *(IF3(true, x36, 0, x85)_>=_IF2(x36, s(0), x85)) *(IF3(true, x36, x87, x86)_>=_IF2(x36, s(x87), x86) ==> IF3(true, x36, s(x87), s(x86))_>=_IF2(x36, s(s(x87)), s(x86))) The constraints for P_> respective P_bound are constructed from P__>=_ where we just replace every occurence of "t _>=_ s" in P__>=_ by "t > s" respective "t _>=_ c". Here c stands for the fresh constant used for P_bound. Using the following integer polynomial ordering the resulting constraints can be solved Polynomial interpretation [NONINF]: POL(0) = 0 POL(IF2(x_1, x_2, x_3)) = -1 + x_1 - x_2 + x_3 POL(IF3(x_1, x_2, x_3, x_4)) = -1 - x_1 + x_2 - x_3 + x_4 POL(c) = -2 POL(false) = 0 POL(le(x_1, x_2)) = 0 POL(s(x_1)) = 1 + x_1 POL(true) = 0 The following pairs are in P_>: IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) The following pairs are in P_bound: IF3(true, x, y, x_removed) -> IF2(x, s(y), x_removed) The following rules are usable: true -> le(0, y) le(x, y) -> le(s(x), s(y)) false -> le(s(x), 0) ---------------------------------------- (56) Obligation: Q DP problem: The TRS P consists of the following rules: IF2(x, y, x_removed) -> IF3(le(y, x_removed), x, y, x_removed) The TRS R consists of the following rules: le(0, y) -> true le(s(x), s(y)) -> le(x, y) le(s(x), 0) -> false The set Q consists of the following terms: le(0, x0) le(s(x0), 0) le(s(x0), s(x1)) We have to consider all minimal (P,Q,R)-chains. ---------------------------------------- (57) DependencyGraphProof (EQUIVALENT) The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node. ---------------------------------------- (58) TRUE