YES (ignored inputs)COMMENT the following rules are removed from the original TRS dbl ( x ) -> + ( x , x ) Rewrite Rules: [ +(?x,?y) -> +(?y,?x), +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)), +(+(?x,?y),?z) -> +(?x,+(?y,?z)), s(?x) -> s(s(?x)), s(s(?x)) -> s(?x) ] Apply Direct Methods... Inner CPs: [ +(?x_2,s(s(?x_6))) = s(+(?x_2,?x_6)), +(?x_2,s(?x_7)) = s(+(?x_2,s(?x_7))), +(s(s(?x_6)),?y_4) = s(+(?x_6,?y_4)), +(s(?x_7),?y_4) = s(+(s(?x_7),?y_4)), +(+(?y,?x),?z_5) = +(?x,+(?y,?z_5)), +(?x_1,?z_5) = +(?x_1,+(0,?z_5)), +(s(+(?x_2,?y_2)),?z_5) = +(?x_2,+(s(?y_2),?z_5)), +(?y_3,?z_5) = +(0,+(?y_3,?z_5)), +(s(+(?x_4,?y_4)),?z_5) = +(s(?x_4),+(?y_4,?z_5)), s(s(s(?x_6))) = s(?x_6), +(+(?x,+(?y,?z)),?z_1) = +(+(?x,?y),+(?z,?z_1)), s(s(?x)) = s(s(?x)) ] Outer CPs: [ +(0,?x) = ?x, +(s(?y_2),?x) = s(+(?x,?y_2)), +(?y,0) = ?y, +(?y,s(?x_4)) = s(+(?x_4,?y)), +(?y,+(?x_5,?y_5)) = +(?x_5,+(?y_5,?y)), 0 = 0, s(?x_4) = s(+(?x_4,0)), +(?x_5,?y_5) = +(?x_5,+(?y_5,0)), s(+(0,?y_2)) = s(?y_2), s(+(s(?x_4),?y_2)) = s(+(?x_4,s(?y_2))), s(+(+(?x_5,?y_5),?y_2)) = +(?x_5,+(?y_5,s(?y_2))), s(s(s(?x_7))) = s(?x_7) ] not Overlay, check Termination... unknown/not Terminating unknown Knuth & Bendix Linear unknown Development Closed unknown Strongly Closed unknown Weakly-Non-Overlapping & Non-Collapsing & Shallow unknown Upside-Parallel-Closed/Outside-Closed (inner) Parallel CPs: (not computed) unknown Toyama (Parallel CPs) Simultaneous CPs: [ ?x = +(0,?x), s(+(?x,?y_2)) = +(s(?y_2),?x), ?y = +(?y,0), s(+(?x_4,?y)) = +(?y,s(?x_4)), +(?x_5,+(?y_5,?y)) = +(?y,+(?x_5,?y_5)), +(?x,+(?y,?z_6)) = +(+(?y,?x),?z_6), +(0,?x) = ?x, 0 = 0, s(+(?x_4,0)) = s(?x_4), +(?x_5,+(?y_5,0)) = +(?x_5,?y_5), +(?x,+(0,?z_6)) = +(?x,?z_6), +(s(s(?y)),?x) = s(+(?x,?y)), +(s(?x_8),?x) = s(+(?x,s(?x_8))), s(s(?y)) = s(+(0,?y)), s(?x_8) = s(+(0,s(?x_8))), s(+(?x_4,s(s(?y)))) = s(+(s(?x_4),?y)), s(+(?x_4,s(?x_12))) = s(+(s(?x_4),s(?x_12))), +(?x_5,+(?y_5,s(s(?y)))) = s(+(+(?x_5,?y_5),?y)), +(?x_5,+(?y_5,s(?x_13))) = s(+(+(?x_5,?y_5),s(?x_13))), +(s(?y),?x) = s(+(?x,?y)), s(?y) = s(+(0,?y)), s(+(?x_4,s(?y))) = s(+(s(?x_4),?y)), +(?x_5,+(?y_5,s(?y))) = s(+(+(?x_5,?y_5),?y)), +(?x,s(s(?y))) = s(+(?x,?y)), +(?x,s(?x_8)) = s(+(?x,s(?x_8))), +(?x,+(s(s(?y)),?z_6)) = +(s(+(?x,?y)),?z_6), +(?x,+(s(?x_14),?z_6)) = +(s(+(?x,s(?x_14))),?z_6), +(?x,+(s(?y),?z_6)) = +(s(+(?x,?y)),?z_6), +(?y,0) = ?y, s(+(0,?y_3)) = s(?y_3), +(0,+(?y,?z_6)) = +(?y,?z_6), +(?y,s(s(?x))) = s(+(?x,?y)), +(?y,s(?x_8)) = s(+(s(?x_8),?y)), s(s(?x)) = s(+(?x,0)), s(?x_8) = s(+(s(?x_8),0)), s(+(s(s(?x)),?y_3)) = s(+(?x,s(?y_3))), s(+(s(?x_11),?y_3)) = s(+(s(?x_11),s(?y_3))), +(?y,s(?x)) = s(+(?x,?y)), s(?x) = s(+(?x,0)), s(+(s(?x),?y_3)) = s(+(?x,s(?y_3))), +(s(s(?x)),?y) = s(+(?x,?y)), +(s(?x_8),?y) = s(+(s(?x_8),?y)), +(s(s(?x)),+(?y,?z_6)) = +(s(+(?x,?y)),?z_6), +(s(?x_14),+(?y,?z_6)) = +(s(+(s(?x_14),?y)),?z_6), +(s(?x),+(?y,?z_6)) = +(s(+(?x,?y)),?z_6), +(?z,+(?x_1,+(?y_1,?y))) = +(+(?x_1,?y_1),+(?y,?z)), +(?z,+(?y,?x)) = +(?x,+(?y,?z)), +(?z,?x) = +(?x,+(0,?z)), +(?z,s(+(?x,?y_4))) = +(?x,+(s(?y_4),?z)), +(?z,?y) = +(0,+(?y,?z)), +(?z,s(+(?x_6,?y))) = +(s(?x_6),+(?y,?z)), +(?x_1,+(?y_1,?y)) = +(+(?x_1,?y_1),+(?y,0)), +(?y,?x) = +(?x,+(?y,0)), ?x = +(?x,+(0,0)), s(+(?x,?y_4)) = +(?x,+(s(?y_4),0)), ?y = +(0,+(?y,0)), s(+(?x_6,?y)) = +(s(?x_6),+(?y,0)), s(+(+(?x_4,+(?y_4,?y)),?y_3)) = +(+(?x_4,?y_4),+(?y,s(?y_3))), s(+(+(?y,?x),?y_3)) = +(?x,+(?y,s(?y_3))), s(+(?x,?y_3)) = +(?x,+(0,s(?y_3))), s(+(s(+(?x,?y_7)),?y_3)) = +(?x,+(s(?y_7),s(?y_3))), s(+(?y,?y_3)) = +(0,+(?y,s(?y_3))), s(+(s(+(?x_9,?y)),?y_3)) = +(s(?x_9),+(?y,s(?y_3))), +(?z,+(?x,?y)) = +(?x,+(?y,?z)), +(?x,?y) = +(?x,+(?y,0)), s(+(+(?x,?y),?y_3)) = +(?x,+(?y,s(?y_3))), +(+(?x_1,+(?y_1,?y)),?z) = +(+(?x_1,?y_1),+(?y,?z)), +(+(?y,?x),?z) = +(?x,+(?y,?z)), +(?x,?z) = +(?x,+(0,?z)), +(s(+(?x,?y_4)),?z) = +(?x,+(s(?y_4),?z)), +(?y,?z) = +(0,+(?y,?z)), +(s(+(?x_6,?y)),?z) = +(s(?x_6),+(?y,?z)), +(+(?x_2,+(?y_2,?y)),+(?z,?z_1)) = +(+(+(?x_2,?y_2),+(?y,?z)),?z_1), +(+(?y,?x),+(?z,?z_1)) = +(+(?x,+(?y,?z)),?z_1), +(?x,+(?z,?z_1)) = +(+(?x,+(0,?z)),?z_1), +(s(+(?x,?y_5)),+(?z,?z_1)) = +(+(?x,+(s(?y_5),?z)),?z_1), +(?y,+(?z,?z_1)) = +(+(0,+(?y,?z)),?z_1), +(s(+(?x_7,?y)),+(?z,?z_1)) = +(+(s(?x_7),+(?y,?z)),?z_1), +(+(?x,?y),+(?z,?z_1)) = +(+(?x,+(?y,?z)),?z_1), s(?x_7) = s(s(s(?x_7))), s(+(?x_4,?x)) = +(?x_4,s(s(?x))), s(+(?x,?y_6)) = +(s(s(?x)),?y_6), s(s(s(?x_1))) = s(s(?x_1)), s(s(s(s(?x)))) = s(?x), s(s(s(?x))) = s(?x), s(s(?x_1)) = s(s(?x_1)), s(s(?x_1)) = s(s(s(?x_1))), s(+(?x_4,s(?x_5))) = +(?x_4,s(s(?x_5))), s(+(?x_4,s(s(?x)))) = +(?x_4,s(?x)), s(+(s(?x_7),?y_6)) = +(s(s(?x_7)),?y_6), s(+(s(s(?x)),?y_6)) = +(s(?x),?y_6), s(+(?x_4,s(?x))) = +(?x_4,s(?x)), s(+(s(?x),?y_6)) = +(s(?x),?y_6) ] unknown Okui (Simultaneous CPs) unknown Strongly Depth-Preserving & Root-E-Closed/Non-E-Overlapping unknown Strongly Weight-Preserving & Root-E-Closed/Non-E-Overlapping check Locally Decreasing Diagrams by Rule Labelling... Critical Pair <+(?x_2,s(s(?x_6))), s(+(?x_2,?x_6))> by Rules <6, 2> preceded by [(+,2)] joinable by a reduction of rules <[([(+,2)],7),([],2)], []> joinable by a reduction of rules <[([],2),([(s,1)],2)], [([],6)]> Critical Pair <+(?x_2,s(?x_7)), s(+(?x_2,s(?x_7)))> by Rules <7, 2> preceded by [(+,2)] joinable by a reduction of rules <[([(+,2)],6),([],2)], []> joinable by a reduction of rules <[([],2),([],6)], [([(s,1)],2)]> joinable by a reduction of rules <[([],2)], [([(s,1)],2),([],7)]> Critical Pair <+(s(s(?x_6)),?y_4), s(+(?x_6,?y_4))> by Rules <6, 4> preceded by [(+,1)] joinable by a reduction of rules <[([(+,1)],7),([],4)], []> joinable by a reduction of rules <[([],4),([(s,1)],4)], [([],6)]> Critical Pair <+(s(?x_7),?y_4), s(+(s(?x_7),?y_4))> by Rules <7, 4> preceded by [(+,1)] joinable by a reduction of rules <[([(+,1)],6),([],4)], []> joinable by a reduction of rules <[([],4),([],6)], [([(s,1)],4)]> joinable by a reduction of rules <[([],4)], [([(s,1)],4),([],7)]> Critical Pair <+(+(?y,?x),?z_5), +(?x,+(?y,?z_5))> by Rules <0, 5> preceded by [(+,1)] joinable by a reduction of rules <[([(+,1)],0),([],5)], []> joinable by a reduction of rules <[([],5),([(+,2)],0)], [([],0),([],5)]> Critical Pair <+(?x_1,?z_5), +(?x_1,+(0,?z_5))> by Rules <1, 5> preceded by [(+,1)] joinable by a reduction of rules <[], [([(+,2)],3)]> Critical Pair <+(s(+(?x_2,?y_2)),?z_5), +(?x_2,+(s(?y_2),?z_5))> by Rules <2, 5> preceded by [(+,1)] joinable by a reduction of rules <[([],4),([(s,1)],5)], [([(+,2)],4),([],2)]> Critical Pair <+(?y_3,?z_5), +(0,+(?y_3,?z_5))> by Rules <3, 5> preceded by [(+,1)] joinable by a reduction of rules <[], [([],3)]> Critical Pair <+(s(+(?x_4,?y_4)),?z_5), +(s(?x_4),+(?y_4,?z_5))> by Rules <4, 5> preceded by [(+,1)] joinable by a reduction of rules <[([],4),([(s,1)],5)], [([],4)]> Critical Pair by Rules <6, 7> preceded by [(s,1)] joinable by a reduction of rules <[([(s,1)],7)], [([],6)]> joinable by a reduction of rules <[([],7)], [([],6)]> Critical Pair <+(+(?x,+(?y,?z)),?z_1), +(+(?x,?y),+(?z,?z_1))> by Rules <5, 5> preceded by [(+,1)] joinable by a reduction of rules <[([],5),([(+,2)],5)], [([],5)]> Critical Pair by Rules <7, 7> preceded by [(s,1)] joinable by a reduction of rules <[], []> Critical Pair by Rules <1, 0> preceded by [] joinable by a reduction of rules <[], [([],3)]> Critical Pair by Rules <2, 0> preceded by [] joinable by a reduction of rules <[([(s,1)],0)], [([],4)]> Critical Pair by Rules <3, 0> preceded by [] joinable by a reduction of rules <[], [([],1)]> Critical Pair by Rules <4, 0> preceded by [] joinable by a reduction of rules <[([(s,1)],0)], [([],2)]> Critical Pair <+(?x_5,+(?y_5,?z_5)), +(?z_5,+(?x_5,?y_5))> by Rules <5, 0> preceded by [] joinable by a reduction of rules <[], [([],0),([],5)]> Critical Pair <0, 0> by Rules <3, 1> preceded by [] joinable by a reduction of rules <[], []> Critical Pair by Rules <4, 1> preceded by [] joinable by a reduction of rules <[([(s,1)],1)], []> Critical Pair <+(?x_5,+(?y_5,0)), +(?x_5,?y_5)> by Rules <5, 1> preceded by [] joinable by a reduction of rules <[([(+,2)],1)], []> Critical Pair by Rules <3, 2> preceded by [] joinable by a reduction of rules <[], [([(s,1)],3)]> Critical Pair by Rules <4, 2> preceded by [] joinable by a reduction of rules <[([(s,1)],2)], [([(s,1)],4)]> Critical Pair <+(?x_5,+(?y_5,s(?y_2))), s(+(+(?x_5,?y_5),?y_2))> by Rules <5, 2> preceded by [] joinable by a reduction of rules <[([(+,2)],2),([],2)], [([(s,1)],5)]> Critical Pair by Rules <7, 6> preceded by [] joinable by a reduction of rules <[([],6)], [([(s,1)],7)]> joinable by a reduction of rules <[([],6)], [([],7)]> unknown Diagram Decreasing check Non-Confluence... obtain 9 rules by 3 steps unfolding obtain 100 candidates for checking non-joinability check by TCAP-Approximation (failure) check by Ordering(rpo), check by Tree-Automata Approximation (failure) check by Interpretation(mod2) (failure) check by Descendants-Approximation, check by Ordering(poly) (failure) unknown Non-Confluence Check relative termination: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)), s(?x) -> s(s(?x)), s(s(?x)) -> s(?x) ] [ +(?x,?y) -> +(?y,?x), +(+(?x,?y),?z) -> +(?x,+(?y,?z)) ] not relatively terminatiing unknown Huet (modulo AC) check by Reduction-Preserving Completion... STEP: 1 (parallel) S: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)) ] P: [ +(?x,?y) -> +(?y,?x), +(+(?x,?y),?z) -> +(?x,+(?y,?z)), s(?x) -> s(s(?x)), s(s(?x)) -> s(?x) ] S: terminating CP(S,S): <0, 0> --> <0, 0> => yes --> => yes --> => yes --> => yes <0, 0> --> <0, 0> => yes --> => yes --> => yes --> => yes PCP_in(symP,S): <+(?x,s(s(?x_5))), s(+(?x,?x_5))> --> => no <+(?x,s(?x_4)), s(+(?x,s(?x_4)))> --> => no <+(s(s(?x_5)),?y), s(+(?x_5,?y))> --> => no <+(s(?x_4),?y), s(+(s(?x_4),?y))> --> => no CP(S,symP): <+(?x_1,?y_1), +(?x_1,+(?y_1,0))> --> <+(?x_1,?y_1), +(?x_1,?y_1)> => yes <+(?x,?z_1), +(?x,+(0,?z_1))> --> <+(?x,?z_1), +(?x,?z_1)> => yes --> => yes <+(?x_1,?x), +(+(?x_1,?x),0)> --> <+(?x_1,?x), +(?x_1,?x)> => yes --> => yes <+(s(+(?x,?y)),?z_1), +(?x,+(s(?y),?z_1))> --> => yes --> => yes <+(?x_1,s(+(?x,?y))), +(+(?x_1,?x),s(?y))> --> => yes <+(?y,?z_1), +(0,+(?y,?z_1))> --> <+(?y,?z_1), +(?y,?z_1)> => yes --> => yes <+(?y_1,?z_1), +(+(0,?y_1),?z_1)> --> <+(?y_1,?z_1), +(?y_1,?z_1)> => yes <+(?x_1,?y), +(+(?x_1,0),?y)> --> <+(?x_1,?y), +(?x_1,?y)> => yes <+(s(+(?x,?y)),?z_1), +(s(?x),+(?y,?z_1))> --> => yes --> => yes --> => yes <+(?x_1,s(+(?x,?y))), +(+(?x_1,s(?x)),?y)> --> => yes check joinability condition: check modulo joinability of s(s(+(?x,?x_5))) and s(+(?x,?x_5)): joinable by {0} check modulo joinability of s(+(?x,?x_4)) and s(s(+(?x,?x_4))): joinable by {0} check modulo joinability of s(s(+(?x_5,?y))) and s(+(?x_5,?y)): joinable by {0} check modulo joinability of s(+(?x_4,?y)) and s(s(+(?x_4,?y))): joinable by {0} success P': [ s(s(?x)) -> s(?x) ] Check relative termination: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)) ] [ s(s(?x)) -> s(?x) ] Polynomial Interpretation: +:= (1)*x1+(2)*x2 0:= (8) s:= (1)*x1 retract +(0,?y) -> ?y Polynomial Interpretation: +:= (1)*x1+(2)*x2 0:= (1) s:= (1)*x1 retract +(?x,0) -> ?x retract +(0,?y) -> ?y Polynomial Interpretation: +:= (1)*x1+(2)*x2+(2)*x2*x2 0:= 0 s:= (10)+(1)*x1 retract +(?x,0) -> ?x retract +(?x,s(?y)) -> s(+(?x,?y)) retract +(0,?y) -> ?y retract s(s(?x)) -> s(?x) Polynomial Interpretation: +:= (2)*x1+(3)*x2*x2 0:= 0 s:= (4)+(1)*x1 relatively terminating S/P': relatively terminating S: [ +(?x,0) -> ?x, +(?x,s(?y)) -> s(+(?x,?y)), +(0,?y) -> ?y, +(s(?x),?y) -> s(+(?x,?y)) ] P: [ +(?x,?y) -> +(?y,?x), +(+(?x,?y),?z) -> +(?x,+(?y,?z)), s(?x) -> s(s(?x)), s(s(?x)) -> s(?x) ] Success Reduction-Preserving Completion Direct Methods: CR Combined result: CR /tmp/fileEn2ON9.trs: Success(CR) (1518 msec.)