/export/starexec/sandbox/solver/bin/starexec_run_default /export/starexec/sandbox/benchmark/theBenchmark.xml /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- MAYBE We split firstr-order part and higher-order part, and do modular checking by a general modularity. ******** FO SN check ******** Check SN using NaTT (Nagoya Termination Tool) Input TRS: 1: app(nil(),X) -> X 2: app(cons(Y,U),V) -> cons(Y,app(U,V)) 3: reverse(nil()) -> nil() 4: reverse(cons(W,P)) -> app(reverse(P),cons(W,nil())) 5: _(X1,X2) -> X1 6: _(X1,X2) -> X2 Number of strict rules: 6 Direct POLO(bPol) ... removes: 3 5 6 reverse w: x1 + 5854 _ w: 2 * x1 + 2 * x2 + 1 nil w: 0 cons w: 2 * x1 + x2 + 536 app w: x1 + x2 Number of strict rules: 3 Direct POLO(bPol) ... removes: 4 1 reverse w: 2 * x1 + 5854 _ w: 2 * x1 + 2 * x2 + 1 nil w: 1 cons w: 2 * x1 + x2 + 536 app w: x1 + x2 Number of strict rules: 1 Direct POLO(bPol) ... removes: 2 reverse w: 2 * x1 + 5853 _ w: 2 * x1 + 2 * x2 + 1 nil w: 1 cons w: 2 * x1 + x2 + 2241 app w: 2 * x1 + 2 * x2 + 1 Number of strict rules: 0 ... Input TRS: 1: app(nil(),X) -> X 2: app(cons(Y,U),V) -> cons(Y,app(U,V)) 3: reverse(nil()) -> nil() 4: reverse(cons(W,P)) -> app(reverse(P),cons(W,nil())) 5: _(X1,X2) -> X1 6: _(X1,X2) -> X2 Number of strict rules: 6 Direct POLO(bPol) ... removes: 3 5 6 reverse w: x1 + 5854 _ w: 2 * x1 + 2 * x2 + 1 nil w: 0 cons w: 2 * x1 + x2 + 536 app w: x1 + x2 Number of strict rules: 3 Direct POLO(bPol) ... removes: 4 1 reverse w: 2 * x1 + 5854 _ w: 2 * x1 + 2 * x2 + 1 nil w: 1 cons w: 2 * x1 + x2 + 536 app w: x1 + x2 Number of strict rules: 1 Direct POLO(bPol) ... removes: 2 reverse w: 2 * x1 + 5853 _ w: 2 * x1 + 2 * x2 + 1 nil w: 1 cons w: 2 * x1 + x2 + 2241 app w: 2 * x1 + 2 * x2 + 1 Number of strict rules: 0 >>YES ******** Signature ******** hshuffle : ((nat -> nat),list) -> list nil : list cons : (nat,list) -> list reverse : list -> list ******** Computation rules ******** (5) hshuffle(F1,nil) => nil (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) ******** General Schema criterion ******** Found constructors: cons, nil Checking type order >>OK Checking positivity of constructors >>OK Checking function dependency >>OK Checking (1) nil@X => X (meta X)[is acc in nil,X] [is positive in nil] [is acc in X] >>True Checking (2) cons(Y,U)@V => cons(Y,U@V) (fun app>cons) (meta Y)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in Y] (fun app=app) subterm comparison of args w. LR LR (meta U)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in U] (meta V)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in V] >>True Checking (3) reverse(nil) => nil (fun reverse>nil) >>True Checking (4) reverse(cons(W,P)) => reverse(P)@cons(W,nil) (fun reverse>app) (fun reverse=reverse) subterm comparison of args w. LR LR (meta P)[is acc in cons(W,P)] [is positive in cons(W,P)] [is acc in P] (fun reverse>cons) (meta W)[is acc in cons(W,P)] [is positive in cons(W,P)] [is acc in W] (fun reverse>nil) >>True Checking (5) hshuffle(F1,nil) => nil (fun hshuffle>nil) >>True Checking (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) (fun hshuffle>cons) (meta Z1)[is acc in Z1,cons(U1,V1)] [is acc in Z1] (meta U1)[is acc in Z1,cons(U1,V1)] [is positive in cons(U1,V1)] [is acc in U1] (fun hshuffle=hshuffle) subterm comparison of args w. LR LR >>False Try again using status RL Checking (1) nil@X => X (meta X)[is acc in nil,X] [is positive in nil] [is acc in X] >>True Checking (2) cons(Y,U)@V => cons(Y,U@V) (fun app>cons) (meta Y)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in Y] (fun app=app) subterm comparison of args w. RL RL (meta U)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in U] (meta V)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in V] >>True Checking (3) reverse(nil) => nil (fun reverse>nil) >>True Checking (4) reverse(cons(W,P)) => reverse(P)@cons(W,nil) (fun reverse>app) (fun reverse=reverse) subterm comparison of args w. RL RL (meta P)[is acc in cons(W,P)] [is positive in cons(W,P)] [is acc in P] (fun reverse>cons) (meta W)[is acc in cons(W,P)] [is positive in cons(W,P)] [is acc in W] (fun reverse>nil) >>True Checking (5) hshuffle(F1,nil) => nil (fun hshuffle>nil) >>True Checking (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) (fun hshuffle>cons) (meta Z1)[is acc in Z1,cons(U1,V1)] [is acc in Z1] (meta U1)[is acc in Z1,cons(U1,V1)] [is positive in cons(U1,V1)] [is acc in U1] (fun hshuffle=hshuffle) subterm comparison of args w. RL RL >>False Try again using status Mul Checking (1) nil@X => X (meta X)[is acc in nil,X] [is positive in nil] [is acc in X] >>True Checking (2) cons(Y,U)@V => cons(Y,U@V) (fun app>cons) (meta Y)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in Y] (fun app=app) subterm comparison of args w. Mul Mul (meta U)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in U] (meta V)[is acc in cons(Y,U),V] [is positive in cons(Y,U)] [is acc in V] >>True Checking (3) reverse(nil) => nil (fun reverse>nil) >>True Checking (4) reverse(cons(W,P)) => reverse(P)@cons(W,nil) (fun reverse>app) (fun reverse=reverse) subterm comparison of args w. Mul Mul (meta P)[is acc in cons(W,P)] [is positive in cons(W,P)] [is acc in P] (fun reverse>cons) (meta W)[is acc in cons(W,P)] [is positive in cons(W,P)] [is acc in W] (fun reverse>nil) >>True Checking (5) hshuffle(F1,nil) => nil (fun hshuffle>nil) >>True Checking (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) (fun hshuffle>cons) (meta Z1)[is acc in Z1,cons(U1,V1)] [is acc in Z1] (meta U1)[is acc in Z1,cons(U1,V1)] [is positive in cons(U1,V1)] [is acc in U1] (fun hshuffle=hshuffle) subterm comparison of args w. Mul Mul >>False Found constructors: nil, cons, reverse Checking type order >>OK Checking positivity of constructors >>OK Checking function dependency >>OK Checking (5) hshuffle(F1,nil) => nil (fun hshuffle>nil) >>True Checking (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) (fun hshuffle>cons) (meta Z1)[is acc in Z1,cons(U1,V1)] [is acc in Z1] (meta U1)[is acc in Z1,cons(U1,V1)] [is positive in cons(U1,V1)] [is acc in U1] (fun hshuffle=hshuffle) subterm comparison of args w. LR LR >>False Try again using status RL Checking (5) hshuffle(F1,nil) => nil (fun hshuffle>nil) >>True Checking (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) (fun hshuffle>cons) (meta Z1)[is acc in Z1,cons(U1,V1)] [is acc in Z1] (meta U1)[is acc in Z1,cons(U1,V1)] [is positive in cons(U1,V1)] [is acc in U1] (fun hshuffle=hshuffle) subterm comparison of args w. RL RL >>False Try again using status Mul Checking (5) hshuffle(F1,nil) => nil (fun hshuffle>nil) >>True Checking (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) (fun hshuffle>cons) (meta Z1)[is acc in Z1,cons(U1,V1)] [is acc in Z1] (meta U1)[is acc in Z1,cons(U1,V1)] [is positive in cons(U1,V1)] [is acc in U1] (fun hshuffle=hshuffle) subterm comparison of args w. Mul Mul >>False #No idea.. ******** Signature ******** app : (list,list) -> list cons : (nat,list) -> list hshuffle : ((nat -> nat),list) -> list nil : list reverse : list -> list ******** Computation Rules ******** (1) nil@X => X (2) cons(Y,U)@V => cons(Y,U@V) (3) reverse(nil) => nil (4) reverse(cons(W,P)) => reverse(P)@cons(W,nil) (5) hshuffle(F1,nil) => nil (6) hshuffle(Z1,cons(U1,V1)) => cons(Z1[U1],hshuffle(Z1,reverse(V1))) MAYBE