YES Prover = TRS(tech=GUIDED_UNF_TRIPLES, nb_unfoldings=unlimited, unfold_variables=false, max_nb_coefficients=12, max_nb_unfolded_rules=-1, strategy=LEFTMOST_NE) ** BEGIN proof argument ** All the DP problems were proved finite. As all the involved DP processors are sound, the TRS under analysis terminates. ** END proof argument ** ** BEGIN proof description ** ## Searching for a generalized rewrite rule (a rule whose right-hand side contains a variable that does not occur in the left-hand side)... No generalized rewrite rule found! ## Applying the DP framework... ## Round 1: ## DP problem: Dependency pairs = [sum^#(cons(_0,cons(_1,_2))) -> sum^#(cons(a(_0,_1,h,h),_2))] TRS = {a(h,h,h,_0) -> s(_0), a(_0,_1,s(_2),h) -> a(_0,_1,_2,s(h)), a(_0,_1,s(_2),s(_3)) -> a(_0,_1,_2,a(_0,_1,s(_2),_3)), a(_0,s(_1),h,_2) -> a(_0,_1,_2,_2), a(s(_0),h,h,_1) -> a(_0,_1,h,_1), +(_0,h) -> _0, +(h,_0) -> _0, +(s(_0),s(_1)) -> s(s(+(_0,_1))), +(+(_0,_1),_2) -> +(_0,+(_1,_2)), s(h) -> 1, app(nil,_0) -> _0, app(_0,nil) -> _0, app(cons(_0,_1),_2) -> cons(_0,app(_1,_2)), sum(cons(_0,nil)) -> cons(_0,nil), sum(cons(_0,cons(_1,_2))) -> sum(cons(a(_0,_1,h,h),_2))} ## Trying with homeomorphic embeddings... Failed! ## Trying with polynomial interpretations... Too many coefficients (36)! Aborting! ## Trying with lexicographic path orders... The constraints are satisfied by the lexicographic path order using the precedence: h > [1], cons > [sum], a > [h, s, 1], + > [h, s, 1], app > [cons, sum], s > [h, 1] and the argument filtering: {a:[0, 1, 2, 3], +:[0, 1], app:[0, 1], sum:[0], s:[0], cons:[1], sum^#:[0]} This DP problem is finite. ## DP problem: Dependency pairs = [app^#(cons(_0,_1),_2) -> app^#(_1,_2)] TRS = {a(h,h,h,_0) -> s(_0), a(_0,_1,s(_2),h) -> a(_0,_1,_2,s(h)), a(_0,_1,s(_2),s(_3)) -> a(_0,_1,_2,a(_0,_1,s(_2),_3)), a(_0,s(_1),h,_2) -> a(_0,_1,_2,_2), a(s(_0),h,h,_1) -> a(_0,_1,h,_1), +(_0,h) -> _0, +(h,_0) -> _0, +(s(_0),s(_1)) -> s(s(+(_0,_1))), +(+(_0,_1),_2) -> +(_0,+(_1,_2)), s(h) -> 1, app(nil,_0) -> _0, app(_0,nil) -> _0, app(cons(_0,_1),_2) -> cons(_0,app(_1,_2)), sum(cons(_0,nil)) -> cons(_0,nil), sum(cons(_0,cons(_1,_2))) -> sum(cons(a(_0,_1,h,h),_2))} ## Trying with homeomorphic embeddings... Success! This DP problem is finite. ## DP problem: Dependency pairs = [+^#(s(_0),s(_1)) -> +^#(_0,_1), +^#(+(_0,_1),_2) -> +^#(_0,+(_1,_2)), +^#(+(_0,_1),_2) -> +^#(_1,_2)] TRS = {a(h,h,h,_0) -> s(_0), a(_0,_1,s(_2),h) -> a(_0,_1,_2,s(h)), a(_0,_1,s(_2),s(_3)) -> a(_0,_1,_2,a(_0,_1,s(_2),_3)), a(_0,s(_1),h,_2) -> a(_0,_1,_2,_2), a(s(_0),h,h,_1) -> a(_0,_1,h,_1), +(_0,h) -> _0, +(h,_0) -> _0, +(s(_0),s(_1)) -> s(s(+(_0,_1))), +(+(_0,_1),_2) -> +(_0,+(_1,_2)), s(h) -> 1, app(nil,_0) -> _0, app(_0,nil) -> _0, app(cons(_0,_1),_2) -> cons(_0,app(_1,_2)), sum(cons(_0,nil)) -> cons(_0,nil), sum(cons(_0,cons(_1,_2))) -> sum(cons(a(_0,_1,h,h),_2))} ## Trying with homeomorphic embeddings... Failed! ## Trying with polynomial interpretations... Too many coefficients (36)! Aborting! ## Trying with lexicographic path orders... The constraints are satisfied by the lexicographic path order using the precedence: h > [1], cons > [sum], a > [h, s, 1], + > [h, s, 1], app > [cons, sum], s > [h, 1] and the argument filtering: {a:[0, 1, 2, 3], +:[0, 1], app:[0, 1], sum:[0], s:[0], cons:[1], +^#:[0, 1]} This DP problem is finite. ## DP problem: Dependency pairs = [a^#(_0,_1,s(_2),h) -> a^#(_0,_1,_2,s(h)), a^#(_0,_1,s(_2),s(_3)) -> a^#(_0,_1,_2,a(_0,_1,s(_2),_3)), a^#(_0,_1,s(_2),s(_3)) -> a^#(_0,_1,s(_2),_3), a^#(_0,s(_1),h,_2) -> a^#(_0,_1,_2,_2), a^#(s(_0),h,h,_1) -> a^#(_0,_1,h,_1)] TRS = {a(h,h,h,_0) -> s(_0), a(_0,_1,s(_2),h) -> a(_0,_1,_2,s(h)), a(_0,_1,s(_2),s(_3)) -> a(_0,_1,_2,a(_0,_1,s(_2),_3)), a(_0,s(_1),h,_2) -> a(_0,_1,_2,_2), a(s(_0),h,h,_1) -> a(_0,_1,h,_1), +(_0,h) -> _0, +(h,_0) -> _0, +(s(_0),s(_1)) -> s(s(+(_0,_1))), +(+(_0,_1),_2) -> +(_0,+(_1,_2)), s(h) -> 1, app(nil,_0) -> _0, app(_0,nil) -> _0, app(cons(_0,_1),_2) -> cons(_0,app(_1,_2)), sum(cons(_0,nil)) -> cons(_0,nil), sum(cons(_0,cons(_1,_2))) -> sum(cons(a(_0,_1,h,h),_2))} ## Trying with homeomorphic embeddings... Failed! ## Trying with polynomial interpretations... Too many coefficients (36)! Aborting! ## Trying with lexicographic path orders... The constraints are satisfied by the lexicographic path order using the precedence: h > [1], cons > [sum], a > [h, s, 1], + > [h, s, 1], app > [cons, sum], s > [h, 1] and the argument filtering: {a:[0, 1, 2, 3], +:[0, 1], app:[0, 1], sum:[0], s:[0], cons:[1], a^#:[0, 1, 2, 3]} This DP problem is finite. ** END proof description ** Proof stopped at iteration 0 Number of unfolded rules generated by this proof = 0 Number of unfolded rules generated by all the parallel proofs = 765