8.26/3.00 YES 8.26/3.02 proof of /export/starexec/sandbox/benchmark/theBenchmark.xml 8.26/3.02 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 8.26/3.02 8.26/3.02 8.26/3.02 Termination w.r.t. Q of the given QTRS could be proven: 8.26/3.02 8.26/3.02 (0) QTRS 8.26/3.02 (1) DependencyPairsProof [EQUIVALENT, 19 ms] 8.26/3.02 (2) QDP 8.26/3.02 (3) DependencyGraphProof [EQUIVALENT, 0 ms] 8.26/3.02 (4) AND 8.26/3.02 (5) QDP 8.26/3.02 (6) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (7) QDP 8.26/3.02 (8) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (9) QDP 8.26/3.02 (10) QDPSizeChangeProof [EQUIVALENT, 0 ms] 8.26/3.02 (11) YES 8.26/3.02 (12) QDP 8.26/3.02 (13) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (14) QDP 8.26/3.02 (15) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (16) QDP 8.26/3.02 (17) QDPSizeChangeProof [EQUIVALENT, 0 ms] 8.26/3.02 (18) YES 8.26/3.02 (19) QDP 8.26/3.02 (20) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (21) QDP 8.26/3.02 (22) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (23) QDP 8.26/3.02 (24) QDPSizeChangeProof [EQUIVALENT, 0 ms] 8.26/3.02 (25) YES 8.26/3.02 (26) QDP 8.26/3.02 (27) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (28) QDP 8.26/3.02 (29) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (30) QDP 8.26/3.02 (31) QDPSizeChangeProof [EQUIVALENT, 0 ms] 8.26/3.02 (32) YES 8.26/3.02 (33) QDP 8.26/3.02 (34) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (35) QDP 8.26/3.02 (36) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (37) QDP 8.26/3.02 (38) QDPSizeChangeProof [EQUIVALENT, 0 ms] 8.26/3.02 (39) YES 8.26/3.02 (40) QDP 8.26/3.02 (41) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (42) QDP 8.26/3.02 (43) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (44) QDP 8.26/3.02 (45) UsableRulesReductionPairsProof [EQUIVALENT, 0 ms] 8.26/3.02 (46) QDP 8.26/3.02 (47) PisEmptyProof [EQUIVALENT, 0 ms] 8.26/3.02 (48) YES 8.26/3.02 (49) QDP 8.26/3.02 (50) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (51) QDP 8.26/3.02 (52) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (53) QDP 8.26/3.02 (54) UsableRulesReductionPairsProof [EQUIVALENT, 0 ms] 8.26/3.02 (55) QDP 8.26/3.02 (56) PisEmptyProof [EQUIVALENT, 0 ms] 8.26/3.02 (57) YES 8.26/3.02 (58) QDP 8.26/3.02 (59) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (60) QDP 8.26/3.02 (61) QDPQMonotonicMRRProof [EQUIVALENT, 100 ms] 8.26/3.02 (62) QDP 8.26/3.02 (63) QDPQMonotonicMRRProof [EQUIVALENT, 47 ms] 8.26/3.02 (64) QDP 8.26/3.02 (65) UsableRulesProof [EQUIVALENT, 0 ms] 8.26/3.02 (66) QDP 8.26/3.02 (67) QReductionProof [EQUIVALENT, 0 ms] 8.26/3.02 (68) QDP 8.26/3.02 (69) QDPSizeChangeProof [EQUIVALENT, 0 ms] 8.26/3.02 (70) YES 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (0) 8.26/3.02 Obligation: 8.26/3.02 Q restricted rewrite system: 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (1) DependencyPairsProof (EQUIVALENT) 8.26/3.02 Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (2) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 ACTIVE(minus(0, Y)) -> MARK(0) 8.26/3.02 ACTIVE(minus(s(X), s(Y))) -> MARK(minus(X, Y)) 8.26/3.02 ACTIVE(minus(s(X), s(Y))) -> MINUS(X, Y) 8.26/3.02 ACTIVE(geq(X, 0)) -> MARK(true) 8.26/3.02 ACTIVE(geq(0, s(Y))) -> MARK(false) 8.26/3.02 ACTIVE(geq(s(X), s(Y))) -> MARK(geq(X, Y)) 8.26/3.02 ACTIVE(geq(s(X), s(Y))) -> GEQ(X, Y) 8.26/3.02 ACTIVE(div(0, s(Y))) -> MARK(0) 8.26/3.02 ACTIVE(div(s(X), s(Y))) -> MARK(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 ACTIVE(div(s(X), s(Y))) -> IF(geq(X, Y), s(div(minus(X, Y), s(Y))), 0) 8.26/3.02 ACTIVE(div(s(X), s(Y))) -> GEQ(X, Y) 8.26/3.02 ACTIVE(div(s(X), s(Y))) -> S(div(minus(X, Y), s(Y))) 8.26/3.02 ACTIVE(div(s(X), s(Y))) -> DIV(minus(X, Y), s(Y)) 8.26/3.02 ACTIVE(div(s(X), s(Y))) -> MINUS(X, Y) 8.26/3.02 ACTIVE(if(true, X, Y)) -> MARK(X) 8.26/3.02 ACTIVE(if(false, X, Y)) -> MARK(Y) 8.26/3.02 MARK(minus(X1, X2)) -> ACTIVE(minus(X1, X2)) 8.26/3.02 MARK(0) -> ACTIVE(0) 8.26/3.02 MARK(s(X)) -> ACTIVE(s(mark(X))) 8.26/3.02 MARK(s(X)) -> S(mark(X)) 8.26/3.02 MARK(s(X)) -> MARK(X) 8.26/3.02 MARK(geq(X1, X2)) -> ACTIVE(geq(X1, X2)) 8.26/3.02 MARK(true) -> ACTIVE(true) 8.26/3.02 MARK(false) -> ACTIVE(false) 8.26/3.02 MARK(div(X1, X2)) -> ACTIVE(div(mark(X1), X2)) 8.26/3.02 MARK(div(X1, X2)) -> DIV(mark(X1), X2) 8.26/3.02 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.02 MARK(if(X1, X2, X3)) -> ACTIVE(if(mark(X1), X2, X3)) 8.26/3.02 MARK(if(X1, X2, X3)) -> IF(mark(X1), X2, X3) 8.26/3.02 MARK(if(X1, X2, X3)) -> MARK(X1) 8.26/3.02 MINUS(mark(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(X1, mark(X2)) -> MINUS(X1, X2) 8.26/3.02 MINUS(active(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(X1, active(X2)) -> MINUS(X1, X2) 8.26/3.02 S(mark(X)) -> S(X) 8.26/3.02 S(active(X)) -> S(X) 8.26/3.02 GEQ(mark(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(X1, mark(X2)) -> GEQ(X1, X2) 8.26/3.02 GEQ(active(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(X1, active(X2)) -> GEQ(X1, X2) 8.26/3.02 DIV(mark(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(X1, mark(X2)) -> DIV(X1, X2) 8.26/3.02 DIV(active(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(X1, active(X2)) -> DIV(X1, X2) 8.26/3.02 IF(mark(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, mark(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, mark(X3)) -> IF(X1, X2, X3) 8.26/3.02 IF(active(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, active(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, active(X3)) -> IF(X1, X2, X3) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (3) DependencyGraphProof (EQUIVALENT) 8.26/3.02 The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 8 SCCs with 17 less nodes. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (4) 8.26/3.02 Complex Obligation (AND) 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (5) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 IF(X1, mark(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(mark(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, mark(X3)) -> IF(X1, X2, X3) 8.26/3.02 IF(active(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, active(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, active(X3)) -> IF(X1, X2, X3) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (6) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (7) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 IF(X1, mark(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(mark(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, mark(X3)) -> IF(X1, X2, X3) 8.26/3.02 IF(active(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, active(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, active(X3)) -> IF(X1, X2, X3) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (8) QReductionProof (EQUIVALENT) 8.26/3.02 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.02 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (9) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 IF(X1, mark(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(mark(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, mark(X3)) -> IF(X1, X2, X3) 8.26/3.02 IF(active(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, active(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 IF(X1, X2, active(X3)) -> IF(X1, X2, X3) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (10) QDPSizeChangeProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 8.26/3.02 From the DPs we obtained the following set of size-change graphs: 8.26/3.02 *IF(X1, mark(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2, 3 >= 3 8.26/3.02 8.26/3.02 8.26/3.02 *IF(mark(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3 8.26/3.02 8.26/3.02 8.26/3.02 *IF(X1, X2, mark(X3)) -> IF(X1, X2, X3) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3 8.26/3.02 8.26/3.02 8.26/3.02 *IF(active(X1), X2, X3) -> IF(X1, X2, X3) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3 8.26/3.02 8.26/3.02 8.26/3.02 *IF(X1, active(X2), X3) -> IF(X1, X2, X3) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2, 3 >= 3 8.26/3.02 8.26/3.02 8.26/3.02 *IF(X1, X2, active(X3)) -> IF(X1, X2, X3) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 >= 2, 3 > 3 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (11) 8.26/3.02 YES 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (12) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 DIV(X1, mark(X2)) -> DIV(X1, X2) 8.26/3.02 DIV(mark(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(active(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(X1, active(X2)) -> DIV(X1, X2) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (13) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (14) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 DIV(X1, mark(X2)) -> DIV(X1, X2) 8.26/3.02 DIV(mark(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(active(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(X1, active(X2)) -> DIV(X1, X2) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (15) QReductionProof (EQUIVALENT) 8.26/3.02 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.02 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (16) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 DIV(X1, mark(X2)) -> DIV(X1, X2) 8.26/3.02 DIV(mark(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(active(X1), X2) -> DIV(X1, X2) 8.26/3.02 DIV(X1, active(X2)) -> DIV(X1, X2) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (17) QDPSizeChangeProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 8.26/3.02 From the DPs we obtained the following set of size-change graphs: 8.26/3.02 *DIV(X1, mark(X2)) -> DIV(X1, X2) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2 8.26/3.02 8.26/3.02 8.26/3.02 *DIV(mark(X1), X2) -> DIV(X1, X2) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2 8.26/3.02 8.26/3.02 8.26/3.02 *DIV(active(X1), X2) -> DIV(X1, X2) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2 8.26/3.02 8.26/3.02 8.26/3.02 *DIV(X1, active(X2)) -> DIV(X1, X2) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (18) 8.26/3.02 YES 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (19) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 GEQ(X1, mark(X2)) -> GEQ(X1, X2) 8.26/3.02 GEQ(mark(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(active(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(X1, active(X2)) -> GEQ(X1, X2) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (20) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (21) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 GEQ(X1, mark(X2)) -> GEQ(X1, X2) 8.26/3.02 GEQ(mark(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(active(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(X1, active(X2)) -> GEQ(X1, X2) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (22) QReductionProof (EQUIVALENT) 8.26/3.02 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.02 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (23) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 GEQ(X1, mark(X2)) -> GEQ(X1, X2) 8.26/3.02 GEQ(mark(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(active(X1), X2) -> GEQ(X1, X2) 8.26/3.02 GEQ(X1, active(X2)) -> GEQ(X1, X2) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (24) QDPSizeChangeProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 8.26/3.02 From the DPs we obtained the following set of size-change graphs: 8.26/3.02 *GEQ(X1, mark(X2)) -> GEQ(X1, X2) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2 8.26/3.02 8.26/3.02 8.26/3.02 *GEQ(mark(X1), X2) -> GEQ(X1, X2) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2 8.26/3.02 8.26/3.02 8.26/3.02 *GEQ(active(X1), X2) -> GEQ(X1, X2) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2 8.26/3.02 8.26/3.02 8.26/3.02 *GEQ(X1, active(X2)) -> GEQ(X1, X2) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (25) 8.26/3.02 YES 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (26) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 S(active(X)) -> S(X) 8.26/3.02 S(mark(X)) -> S(X) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (27) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (28) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 S(active(X)) -> S(X) 8.26/3.02 S(mark(X)) -> S(X) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (29) QReductionProof (EQUIVALENT) 8.26/3.02 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.02 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (30) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 S(active(X)) -> S(X) 8.26/3.02 S(mark(X)) -> S(X) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (31) QDPSizeChangeProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 8.26/3.02 From the DPs we obtained the following set of size-change graphs: 8.26/3.02 *S(active(X)) -> S(X) 8.26/3.02 The graph contains the following edges 1 > 1 8.26/3.02 8.26/3.02 8.26/3.02 *S(mark(X)) -> S(X) 8.26/3.02 The graph contains the following edges 1 > 1 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (32) 8.26/3.02 YES 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (33) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 MINUS(X1, mark(X2)) -> MINUS(X1, X2) 8.26/3.02 MINUS(mark(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(active(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(X1, active(X2)) -> MINUS(X1, X2) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (34) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (35) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 MINUS(X1, mark(X2)) -> MINUS(X1, X2) 8.26/3.02 MINUS(mark(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(active(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(X1, active(X2)) -> MINUS(X1, X2) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (36) QReductionProof (EQUIVALENT) 8.26/3.02 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.02 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (37) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 MINUS(X1, mark(X2)) -> MINUS(X1, X2) 8.26/3.02 MINUS(mark(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(active(X1), X2) -> MINUS(X1, X2) 8.26/3.02 MINUS(X1, active(X2)) -> MINUS(X1, X2) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (38) QDPSizeChangeProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 8.26/3.02 From the DPs we obtained the following set of size-change graphs: 8.26/3.02 *MINUS(X1, mark(X2)) -> MINUS(X1, X2) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2 8.26/3.02 8.26/3.02 8.26/3.02 *MINUS(mark(X1), X2) -> MINUS(X1, X2) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2 8.26/3.02 8.26/3.02 8.26/3.02 *MINUS(active(X1), X2) -> MINUS(X1, X2) 8.26/3.02 The graph contains the following edges 1 > 1, 2 >= 2 8.26/3.02 8.26/3.02 8.26/3.02 *MINUS(X1, active(X2)) -> MINUS(X1, X2) 8.26/3.02 The graph contains the following edges 1 >= 1, 2 > 2 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (39) 8.26/3.02 YES 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (40) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 ACTIVE(geq(s(X), s(Y))) -> MARK(geq(X, Y)) 8.26/3.02 MARK(geq(X1, X2)) -> ACTIVE(geq(X1, X2)) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (41) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (42) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 ACTIVE(geq(s(X), s(Y))) -> MARK(geq(X, Y)) 8.26/3.02 MARK(geq(X1, X2)) -> ACTIVE(geq(X1, X2)) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (43) QReductionProof (EQUIVALENT) 8.26/3.02 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (44) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 ACTIVE(geq(s(X), s(Y))) -> MARK(geq(X, Y)) 8.26/3.02 MARK(geq(X1, X2)) -> ACTIVE(geq(X1, X2)) 8.26/3.02 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (45) UsableRulesReductionPairsProof (EQUIVALENT) 8.26/3.02 By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules 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. 8.26/3.02 8.26/3.02 The following dependency pairs can be deleted: 8.26/3.02 8.26/3.02 ACTIVE(geq(s(X), s(Y))) -> MARK(geq(X, Y)) 8.26/3.02 MARK(geq(X1, X2)) -> ACTIVE(geq(X1, X2)) 8.26/3.02 No rules are removed from R. 8.26/3.02 8.26/3.02 Used ordering: POLO with Polynomial interpretation [POLO]: 8.26/3.02 8.26/3.02 POL(ACTIVE(x_1)) = x_1 8.26/3.02 POL(MARK(x_1)) = 2*x_1 8.26/3.02 POL(geq(x_1, x_2)) = 2 + 2*x_1 + 2*x_2 8.26/3.02 POL(s(x_1)) = 2 + 2*x_1 8.26/3.02 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (46) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 P is empty. 8.26/3.02 R is empty. 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (47) PisEmptyProof (EQUIVALENT) 8.26/3.02 The TRS P is empty. Hence, there is no (P,Q,R) chain. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (48) 8.26/3.02 YES 8.26/3.02 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (49) 8.26/3.02 Obligation: 8.26/3.02 Q DP problem: 8.26/3.02 The TRS P consists of the following rules: 8.26/3.02 8.26/3.02 ACTIVE(minus(s(X), s(Y))) -> MARK(minus(X, Y)) 8.26/3.02 MARK(minus(X1, X2)) -> ACTIVE(minus(X1, X2)) 8.26/3.02 8.26/3.02 The TRS R consists of the following rules: 8.26/3.02 8.26/3.02 active(minus(0, Y)) -> mark(0) 8.26/3.02 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.02 active(geq(X, 0)) -> mark(true) 8.26/3.02 active(geq(0, s(Y))) -> mark(false) 8.26/3.02 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.02 active(div(0, s(Y))) -> mark(0) 8.26/3.02 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.02 active(if(true, X, Y)) -> mark(X) 8.26/3.02 active(if(false, X, Y)) -> mark(Y) 8.26/3.02 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.02 mark(0) -> active(0) 8.26/3.02 mark(s(X)) -> active(s(mark(X))) 8.26/3.02 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.02 mark(true) -> active(true) 8.26/3.02 mark(false) -> active(false) 8.26/3.02 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.02 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.02 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.02 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.02 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.02 s(mark(X)) -> s(X) 8.26/3.02 s(active(X)) -> s(X) 8.26/3.02 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.02 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.02 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.02 div(mark(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.02 div(active(X1), X2) -> div(X1, X2) 8.26/3.02 div(X1, active(X2)) -> div(X1, X2) 8.26/3.02 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.02 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.02 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.02 8.26/3.02 The set Q consists of the following terms: 8.26/3.02 8.26/3.02 active(minus(0, x0)) 8.26/3.02 active(minus(s(x0), s(x1))) 8.26/3.02 active(geq(x0, 0)) 8.26/3.02 active(geq(0, s(x0))) 8.26/3.02 active(geq(s(x0), s(x1))) 8.26/3.02 active(div(0, s(x0))) 8.26/3.02 active(div(s(x0), s(x1))) 8.26/3.02 active(if(true, x0, x1)) 8.26/3.02 active(if(false, x0, x1)) 8.26/3.02 mark(minus(x0, x1)) 8.26/3.02 mark(0) 8.26/3.02 mark(s(x0)) 8.26/3.02 mark(geq(x0, x1)) 8.26/3.02 mark(true) 8.26/3.02 mark(false) 8.26/3.02 mark(div(x0, x1)) 8.26/3.02 mark(if(x0, x1, x2)) 8.26/3.02 minus(mark(x0), x1) 8.26/3.02 minus(x0, mark(x1)) 8.26/3.02 minus(active(x0), x1) 8.26/3.02 minus(x0, active(x1)) 8.26/3.02 s(mark(x0)) 8.26/3.02 s(active(x0)) 8.26/3.02 geq(mark(x0), x1) 8.26/3.02 geq(x0, mark(x1)) 8.26/3.02 geq(active(x0), x1) 8.26/3.02 geq(x0, active(x1)) 8.26/3.02 div(mark(x0), x1) 8.26/3.02 div(x0, mark(x1)) 8.26/3.02 div(active(x0), x1) 8.26/3.02 div(x0, active(x1)) 8.26/3.02 if(mark(x0), x1, x2) 8.26/3.02 if(x0, mark(x1), x2) 8.26/3.02 if(x0, x1, mark(x2)) 8.26/3.02 if(active(x0), x1, x2) 8.26/3.02 if(x0, active(x1), x2) 8.26/3.02 if(x0, x1, active(x2)) 8.26/3.02 8.26/3.02 We have to consider all minimal (P,Q,R)-chains. 8.26/3.02 ---------------------------------------- 8.26/3.02 8.26/3.02 (50) UsableRulesProof (EQUIVALENT) 8.26/3.02 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. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (51) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 ACTIVE(minus(s(X), s(Y))) -> MARK(minus(X, Y)) 8.26/3.03 MARK(minus(X1, X2)) -> ACTIVE(minus(X1, X2)) 8.26/3.03 8.26/3.03 R is empty. 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (52) QReductionProof (EQUIVALENT) 8.26/3.03 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (53) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 ACTIVE(minus(s(X), s(Y))) -> MARK(minus(X, Y)) 8.26/3.03 MARK(minus(X1, X2)) -> ACTIVE(minus(X1, X2)) 8.26/3.03 8.26/3.03 R is empty. 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (54) UsableRulesReductionPairsProof (EQUIVALENT) 8.26/3.03 By using the usable rules with reduction pair processor [LPAR04] with a polynomial ordering [POLO], all dependency pairs and the corresponding usable rules [FROCOS05] can be oriented non-strictly. All non-usable rules 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. 8.26/3.03 8.26/3.03 The following dependency pairs can be deleted: 8.26/3.03 8.26/3.03 ACTIVE(minus(s(X), s(Y))) -> MARK(minus(X, Y)) 8.26/3.03 MARK(minus(X1, X2)) -> ACTIVE(minus(X1, X2)) 8.26/3.03 No rules are removed from R. 8.26/3.03 8.26/3.03 Used ordering: POLO with Polynomial interpretation [POLO]: 8.26/3.03 8.26/3.03 POL(ACTIVE(x_1)) = x_1 8.26/3.03 POL(MARK(x_1)) = 2*x_1 8.26/3.03 POL(minus(x_1, x_2)) = 2 + 2*x_1 + 2*x_2 8.26/3.03 POL(s(x_1)) = 2 + 2*x_1 8.26/3.03 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (55) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 P is empty. 8.26/3.03 R is empty. 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (56) PisEmptyProof (EQUIVALENT) 8.26/3.03 The TRS P is empty. Hence, there is no (P,Q,R) chain. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (57) 8.26/3.03 YES 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (58) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 ACTIVE(div(s(X), s(Y))) -> MARK(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 MARK(if(X1, X2, X3)) -> ACTIVE(if(mark(X1), X2, X3)) 8.26/3.03 ACTIVE(if(true, X, Y)) -> MARK(X) 8.26/3.03 MARK(s(X)) -> ACTIVE(s(mark(X))) 8.26/3.03 ACTIVE(if(false, X, Y)) -> MARK(Y) 8.26/3.03 MARK(s(X)) -> MARK(X) 8.26/3.03 MARK(div(X1, X2)) -> ACTIVE(div(mark(X1), X2)) 8.26/3.03 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 MARK(if(X1, X2, X3)) -> MARK(X1) 8.26/3.03 8.26/3.03 The TRS R consists of the following rules: 8.26/3.03 8.26/3.03 active(minus(0, Y)) -> mark(0) 8.26/3.03 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.03 active(geq(X, 0)) -> mark(true) 8.26/3.03 active(geq(0, s(Y))) -> mark(false) 8.26/3.03 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.03 active(div(0, s(Y))) -> mark(0) 8.26/3.03 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 active(if(true, X, Y)) -> mark(X) 8.26/3.03 active(if(false, X, Y)) -> mark(Y) 8.26/3.03 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.03 mark(0) -> active(0) 8.26/3.03 mark(s(X)) -> active(s(mark(X))) 8.26/3.03 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.03 mark(true) -> active(true) 8.26/3.03 mark(false) -> active(false) 8.26/3.03 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.03 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.03 minus(mark(X1), X2) -> minus(X1, X2) 8.26/3.03 minus(X1, mark(X2)) -> minus(X1, X2) 8.26/3.03 minus(active(X1), X2) -> minus(X1, X2) 8.26/3.03 minus(X1, active(X2)) -> minus(X1, X2) 8.26/3.03 s(mark(X)) -> s(X) 8.26/3.03 s(active(X)) -> s(X) 8.26/3.03 geq(mark(X1), X2) -> geq(X1, X2) 8.26/3.03 geq(X1, mark(X2)) -> geq(X1, X2) 8.26/3.03 geq(active(X1), X2) -> geq(X1, X2) 8.26/3.03 geq(X1, active(X2)) -> geq(X1, X2) 8.26/3.03 div(mark(X1), X2) -> div(X1, X2) 8.26/3.03 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.03 div(active(X1), X2) -> div(X1, X2) 8.26/3.03 div(X1, active(X2)) -> div(X1, X2) 8.26/3.03 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.03 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.03 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (59) UsableRulesProof (EQUIVALENT) 8.26/3.03 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. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (60) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 ACTIVE(div(s(X), s(Y))) -> MARK(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 MARK(if(X1, X2, X3)) -> ACTIVE(if(mark(X1), X2, X3)) 8.26/3.03 ACTIVE(if(true, X, Y)) -> MARK(X) 8.26/3.03 MARK(s(X)) -> ACTIVE(s(mark(X))) 8.26/3.03 ACTIVE(if(false, X, Y)) -> MARK(Y) 8.26/3.03 MARK(s(X)) -> MARK(X) 8.26/3.03 MARK(div(X1, X2)) -> ACTIVE(div(mark(X1), X2)) 8.26/3.03 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 MARK(if(X1, X2, X3)) -> MARK(X1) 8.26/3.03 8.26/3.03 The TRS R consists of the following rules: 8.26/3.03 8.26/3.03 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.03 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.03 mark(0) -> active(0) 8.26/3.03 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.03 active(if(true, X, Y)) -> mark(X) 8.26/3.03 mark(s(X)) -> active(s(mark(X))) 8.26/3.03 active(if(false, X, Y)) -> mark(Y) 8.26/3.03 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.03 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.03 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.03 mark(true) -> active(true) 8.26/3.03 mark(false) -> active(false) 8.26/3.03 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.03 div(mark(X1), X2) -> div(X1, X2) 8.26/3.03 div(active(X1), X2) -> div(X1, X2) 8.26/3.03 div(X1, active(X2)) -> div(X1, X2) 8.26/3.03 active(geq(X, 0)) -> mark(true) 8.26/3.03 active(geq(0, s(Y))) -> mark(false) 8.26/3.03 active(minus(0, Y)) -> mark(0) 8.26/3.03 active(div(0, s(Y))) -> mark(0) 8.26/3.03 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.03 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.03 s(active(X)) -> s(X) 8.26/3.03 s(mark(X)) -> s(X) 8.26/3.03 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (61) QDPQMonotonicMRRProof (EQUIVALENT) 8.26/3.03 By using the Q-monotonic rule removal processor with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented such that it always occurs at a strongly monotonic position in a (P,Q,R)-chain. 8.26/3.03 8.26/3.03 Strictly oriented dependency pairs: 8.26/3.03 8.26/3.03 MARK(s(X)) -> ACTIVE(s(mark(X))) 8.26/3.03 8.26/3.03 8.26/3.03 Used ordering: Polynomial interpretation [POLO]: 8.26/3.03 8.26/3.03 POL(0) = 0 8.26/3.03 POL(ACTIVE(x_1)) = x_1 8.26/3.03 POL(MARK(x_1)) = 1 8.26/3.03 POL(active(x_1)) = 0 8.26/3.03 POL(div(x_1, x_2)) = 1 8.26/3.03 POL(false) = 0 8.26/3.03 POL(geq(x_1, x_2)) = 0 8.26/3.03 POL(if(x_1, x_2, x_3)) = 1 8.26/3.03 POL(mark(x_1)) = 0 8.26/3.03 POL(minus(x_1, x_2)) = 0 8.26/3.03 POL(s(x_1)) = 0 8.26/3.03 POL(true) = 0 8.26/3.03 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (62) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 ACTIVE(div(s(X), s(Y))) -> MARK(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 MARK(if(X1, X2, X3)) -> ACTIVE(if(mark(X1), X2, X3)) 8.26/3.03 ACTIVE(if(true, X, Y)) -> MARK(X) 8.26/3.03 ACTIVE(if(false, X, Y)) -> MARK(Y) 8.26/3.03 MARK(s(X)) -> MARK(X) 8.26/3.03 MARK(div(X1, X2)) -> ACTIVE(div(mark(X1), X2)) 8.26/3.03 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 MARK(if(X1, X2, X3)) -> MARK(X1) 8.26/3.03 8.26/3.03 The TRS R consists of the following rules: 8.26/3.03 8.26/3.03 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.03 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.03 mark(0) -> active(0) 8.26/3.03 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.03 active(if(true, X, Y)) -> mark(X) 8.26/3.03 mark(s(X)) -> active(s(mark(X))) 8.26/3.03 active(if(false, X, Y)) -> mark(Y) 8.26/3.03 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.03 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.03 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.03 mark(true) -> active(true) 8.26/3.03 mark(false) -> active(false) 8.26/3.03 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.03 div(mark(X1), X2) -> div(X1, X2) 8.26/3.03 div(active(X1), X2) -> div(X1, X2) 8.26/3.03 div(X1, active(X2)) -> div(X1, X2) 8.26/3.03 active(geq(X, 0)) -> mark(true) 8.26/3.03 active(geq(0, s(Y))) -> mark(false) 8.26/3.03 active(minus(0, Y)) -> mark(0) 8.26/3.03 active(div(0, s(Y))) -> mark(0) 8.26/3.03 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.03 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.03 s(active(X)) -> s(X) 8.26/3.03 s(mark(X)) -> s(X) 8.26/3.03 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (63) QDPQMonotonicMRRProof (EQUIVALENT) 8.26/3.03 By using the Q-monotonic rule removal processor with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented such that it always occurs at a strongly monotonic position in a (P,Q,R)-chain. 8.26/3.03 8.26/3.03 Strictly oriented dependency pairs: 8.26/3.03 8.26/3.03 ACTIVE(div(s(X), s(Y))) -> MARK(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 MARK(if(X1, X2, X3)) -> ACTIVE(if(mark(X1), X2, X3)) 8.26/3.03 ACTIVE(if(true, X, Y)) -> MARK(X) 8.26/3.03 ACTIVE(if(false, X, Y)) -> MARK(Y) 8.26/3.03 MARK(s(X)) -> MARK(X) 8.26/3.03 MARK(div(X1, X2)) -> ACTIVE(div(mark(X1), X2)) 8.26/3.03 MARK(if(X1, X2, X3)) -> MARK(X1) 8.26/3.03 8.26/3.03 Strictly oriented rules of the TRS R: 8.26/3.03 8.26/3.03 active(div(s(X), s(Y))) -> mark(if(geq(X, Y), s(div(minus(X, Y), s(Y))), 0)) 8.26/3.03 active(if(true, X, Y)) -> mark(X) 8.26/3.03 active(if(false, X, Y)) -> mark(Y) 8.26/3.03 8.26/3.03 Used ordering: Polynomial interpretation [POLO]: 8.26/3.03 8.26/3.03 POL(0) = 0 8.26/3.03 POL(ACTIVE(x_1)) = 1 + 2*x_1 8.26/3.03 POL(MARK(x_1)) = 2 + 2*x_1 8.26/3.03 POL(active(x_1)) = x_1 8.26/3.03 POL(div(x_1, x_2)) = 2*x_1 8.26/3.03 POL(false) = 0 8.26/3.03 POL(geq(x_1, x_2)) = 0 8.26/3.03 POL(if(x_1, x_2, x_3)) = 1 + 2*x_1 + x_2 + 2*x_3 8.26/3.03 POL(mark(x_1)) = x_1 8.26/3.03 POL(minus(x_1, x_2)) = 0 8.26/3.03 POL(s(x_1)) = 2 + 2*x_1 8.26/3.03 POL(true) = 0 8.26/3.03 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (64) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 8.26/3.03 The TRS R consists of the following rules: 8.26/3.03 8.26/3.03 active(minus(s(X), s(Y))) -> mark(minus(X, Y)) 8.26/3.03 mark(minus(X1, X2)) -> active(minus(X1, X2)) 8.26/3.03 mark(0) -> active(0) 8.26/3.03 mark(if(X1, X2, X3)) -> active(if(mark(X1), X2, X3)) 8.26/3.03 mark(s(X)) -> active(s(mark(X))) 8.26/3.03 mark(div(X1, X2)) -> active(div(mark(X1), X2)) 8.26/3.03 active(geq(s(X), s(Y))) -> mark(geq(X, Y)) 8.26/3.03 mark(geq(X1, X2)) -> active(geq(X1, X2)) 8.26/3.03 mark(true) -> active(true) 8.26/3.03 mark(false) -> active(false) 8.26/3.03 div(X1, mark(X2)) -> div(X1, X2) 8.26/3.03 div(mark(X1), X2) -> div(X1, X2) 8.26/3.03 div(active(X1), X2) -> div(X1, X2) 8.26/3.03 div(X1, active(X2)) -> div(X1, X2) 8.26/3.03 active(geq(X, 0)) -> mark(true) 8.26/3.03 active(geq(0, s(Y))) -> mark(false) 8.26/3.03 active(minus(0, Y)) -> mark(0) 8.26/3.03 active(div(0, s(Y))) -> mark(0) 8.26/3.03 if(X1, mark(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(mark(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, mark(X3)) -> if(X1, X2, X3) 8.26/3.03 if(active(X1), X2, X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, active(X2), X3) -> if(X1, X2, X3) 8.26/3.03 if(X1, X2, active(X3)) -> if(X1, X2, X3) 8.26/3.03 s(active(X)) -> s(X) 8.26/3.03 s(mark(X)) -> s(X) 8.26/3.03 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (65) UsableRulesProof (EQUIVALENT) 8.26/3.03 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. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (66) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 8.26/3.03 R is empty. 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (67) QReductionProof (EQUIVALENT) 8.26/3.03 We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.[THIEMANN]. 8.26/3.03 8.26/3.03 active(minus(0, x0)) 8.26/3.03 active(minus(s(x0), s(x1))) 8.26/3.03 active(geq(x0, 0)) 8.26/3.03 active(geq(0, s(x0))) 8.26/3.03 active(geq(s(x0), s(x1))) 8.26/3.03 active(div(0, s(x0))) 8.26/3.03 active(div(s(x0), s(x1))) 8.26/3.03 active(if(true, x0, x1)) 8.26/3.03 active(if(false, x0, x1)) 8.26/3.03 mark(minus(x0, x1)) 8.26/3.03 mark(0) 8.26/3.03 mark(s(x0)) 8.26/3.03 mark(geq(x0, x1)) 8.26/3.03 mark(true) 8.26/3.03 mark(false) 8.26/3.03 mark(div(x0, x1)) 8.26/3.03 mark(if(x0, x1, x2)) 8.26/3.03 minus(mark(x0), x1) 8.26/3.03 minus(x0, mark(x1)) 8.26/3.03 minus(active(x0), x1) 8.26/3.03 minus(x0, active(x1)) 8.26/3.03 s(mark(x0)) 8.26/3.03 s(active(x0)) 8.26/3.03 geq(mark(x0), x1) 8.26/3.03 geq(x0, mark(x1)) 8.26/3.03 geq(active(x0), x1) 8.26/3.03 geq(x0, active(x1)) 8.26/3.03 if(mark(x0), x1, x2) 8.26/3.03 if(x0, mark(x1), x2) 8.26/3.03 if(x0, x1, mark(x2)) 8.26/3.03 if(active(x0), x1, x2) 8.26/3.03 if(x0, active(x1), x2) 8.26/3.03 if(x0, x1, active(x2)) 8.26/3.03 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (68) 8.26/3.03 Obligation: 8.26/3.03 Q DP problem: 8.26/3.03 The TRS P consists of the following rules: 8.26/3.03 8.26/3.03 MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 8.26/3.03 R is empty. 8.26/3.03 The set Q consists of the following terms: 8.26/3.03 8.26/3.03 div(mark(x0), x1) 8.26/3.03 div(x0, mark(x1)) 8.26/3.03 div(active(x0), x1) 8.26/3.03 div(x0, active(x1)) 8.26/3.03 8.26/3.03 We have to consider all minimal (P,Q,R)-chains. 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (69) QDPSizeChangeProof (EQUIVALENT) 8.26/3.03 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. 8.26/3.03 8.26/3.03 From the DPs we obtained the following set of size-change graphs: 8.26/3.03 *MARK(div(X1, X2)) -> MARK(X1) 8.26/3.03 The graph contains the following edges 1 > 1 8.26/3.03 8.26/3.03 8.26/3.03 ---------------------------------------- 8.26/3.03 8.26/3.03 (70) 8.26/3.03 YES 8.26/3.07 EOF