YES Problem 1: (VAR v_NonEmpty:S X:S X1:S X2:S Y:S Z:S) (RULES 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ) (STRATEGY INNERMOST) Problem 1: Dependency Pairs Processor: -> Pairs: 2ND(mark(X:S)) -> 2ND(X:S) 2ND(ok(X:S)) -> 2ND(X:S) ACTIVE(2nd(cons(X:S,X1:S))) -> 2ND(cons1(X:S,X1:S)) ACTIVE(2nd(cons(X:S,X1:S))) -> CONS1(X:S,X1:S) ACTIVE(2nd(X:S)) -> 2ND(active(X:S)) ACTIVE(2nd(X:S)) -> ACTIVE(X:S) ACTIVE(cons(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons(X1:S,X2:S)) -> CONS(active(X1:S),X2:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X2:S) ACTIVE(cons1(X1:S,X2:S)) -> CONS1(active(X1:S),X2:S) ACTIVE(cons1(X1:S,X2:S)) -> CONS1(X1:S,active(X2:S)) ACTIVE(from(X:S)) -> ACTIVE(X:S) ACTIVE(from(X:S)) -> CONS(X:S,from(s(X:S))) ACTIVE(from(X:S)) -> FROM(active(X:S)) ACTIVE(from(X:S)) -> FROM(s(X:S)) ACTIVE(from(X:S)) -> S(X:S) ACTIVE(s(X:S)) -> ACTIVE(X:S) ACTIVE(s(X:S)) -> S(active(X:S)) CONS(mark(X1:S),X2:S) -> CONS(X1:S,X2:S) CONS(ok(X1:S),ok(X2:S)) -> CONS(X1:S,X2:S) CONS1(mark(X1:S),X2:S) -> CONS1(X1:S,X2:S) CONS1(ok(X1:S),ok(X2:S)) -> CONS1(X1:S,X2:S) CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) FROM(mark(X:S)) -> FROM(X:S) FROM(ok(X:S)) -> FROM(X:S) PROPER(2nd(X:S)) -> 2ND(proper(X:S)) PROPER(2nd(X:S)) -> PROPER(X:S) PROPER(cons(X1:S,X2:S)) -> CONS(proper(X1:S),proper(X2:S)) PROPER(cons(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons(X1:S,X2:S)) -> PROPER(X2:S) PROPER(cons1(X1:S,X2:S)) -> CONS1(proper(X1:S),proper(X2:S)) PROPER(cons1(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons1(X1:S,X2:S)) -> PROPER(X2:S) PROPER(from(X:S)) -> FROM(proper(X:S)) PROPER(from(X:S)) -> PROPER(X:S) PROPER(s(X:S)) -> PROPER(X:S) PROPER(s(X:S)) -> S(proper(X:S)) S(mark(X:S)) -> S(X:S) S(ok(X:S)) -> S(X:S) TOP(mark(X:S)) -> PROPER(X:S) TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> ACTIVE(X:S) TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) Problem 1: SCC Processor: -> Pairs: 2ND(mark(X:S)) -> 2ND(X:S) 2ND(ok(X:S)) -> 2ND(X:S) ACTIVE(2nd(cons(X:S,X1:S))) -> 2ND(cons1(X:S,X1:S)) ACTIVE(2nd(cons(X:S,X1:S))) -> CONS1(X:S,X1:S) ACTIVE(2nd(X:S)) -> 2ND(active(X:S)) ACTIVE(2nd(X:S)) -> ACTIVE(X:S) ACTIVE(cons(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons(X1:S,X2:S)) -> CONS(active(X1:S),X2:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X2:S) ACTIVE(cons1(X1:S,X2:S)) -> CONS1(active(X1:S),X2:S) ACTIVE(cons1(X1:S,X2:S)) -> CONS1(X1:S,active(X2:S)) ACTIVE(from(X:S)) -> ACTIVE(X:S) ACTIVE(from(X:S)) -> CONS(X:S,from(s(X:S))) ACTIVE(from(X:S)) -> FROM(active(X:S)) ACTIVE(from(X:S)) -> FROM(s(X:S)) ACTIVE(from(X:S)) -> S(X:S) ACTIVE(s(X:S)) -> ACTIVE(X:S) ACTIVE(s(X:S)) -> S(active(X:S)) CONS(mark(X1:S),X2:S) -> CONS(X1:S,X2:S) CONS(ok(X1:S),ok(X2:S)) -> CONS(X1:S,X2:S) CONS1(mark(X1:S),X2:S) -> CONS1(X1:S,X2:S) CONS1(ok(X1:S),ok(X2:S)) -> CONS1(X1:S,X2:S) CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) FROM(mark(X:S)) -> FROM(X:S) FROM(ok(X:S)) -> FROM(X:S) PROPER(2nd(X:S)) -> 2ND(proper(X:S)) PROPER(2nd(X:S)) -> PROPER(X:S) PROPER(cons(X1:S,X2:S)) -> CONS(proper(X1:S),proper(X2:S)) PROPER(cons(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons(X1:S,X2:S)) -> PROPER(X2:S) PROPER(cons1(X1:S,X2:S)) -> CONS1(proper(X1:S),proper(X2:S)) PROPER(cons1(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons1(X1:S,X2:S)) -> PROPER(X2:S) PROPER(from(X:S)) -> FROM(proper(X:S)) PROPER(from(X:S)) -> PROPER(X:S) PROPER(s(X:S)) -> PROPER(X:S) PROPER(s(X:S)) -> S(proper(X:S)) S(mark(X:S)) -> S(X:S) S(ok(X:S)) -> S(X:S) TOP(mark(X:S)) -> PROPER(X:S) TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> ACTIVE(X:S) TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: S(mark(X:S)) -> S(X:S) S(ok(X:S)) -> S(X:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: FROM(mark(X:S)) -> FROM(X:S) FROM(ok(X:S)) -> FROM(X:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: CONS1(mark(X1:S),X2:S) -> CONS1(X1:S,X2:S) CONS1(ok(X1:S),ok(X2:S)) -> CONS1(X1:S,X2:S) CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: CONS(mark(X1:S),X2:S) -> CONS(X1:S,X2:S) CONS(ok(X1:S),ok(X2:S)) -> CONS(X1:S,X2:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: 2ND(mark(X:S)) -> 2ND(X:S) 2ND(ok(X:S)) -> 2ND(X:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: ACTIVE(2nd(X:S)) -> ACTIVE(X:S) ACTIVE(cons(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X2:S) ACTIVE(from(X:S)) -> ACTIVE(X:S) ACTIVE(s(X:S)) -> ACTIVE(X:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: PROPER(2nd(X:S)) -> PROPER(X:S) PROPER(cons(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons(X1:S,X2:S)) -> PROPER(X2:S) PROPER(cons1(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons1(X1:S,X2:S)) -> PROPER(X2:S) PROPER(from(X:S)) -> PROPER(X:S) PROPER(s(X:S)) -> PROPER(X:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->->Cycle: ->->-> Pairs: TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> TOP(active(X:S)) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) The problem is decomposed in 8 subproblems. Problem 1.1: Subterm Processor: -> Pairs: S(mark(X:S)) -> S(X:S) S(ok(X:S)) -> S(X:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(S) = 1 Problem 1.1: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.2: Subterm Processor: -> Pairs: FROM(mark(X:S)) -> FROM(X:S) FROM(ok(X:S)) -> FROM(X:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(FROM) = 1 Problem 1.2: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.3: Subterm Processor: -> Pairs: CONS1(mark(X1:S),X2:S) -> CONS1(X1:S,X2:S) CONS1(ok(X1:S),ok(X2:S)) -> CONS1(X1:S,X2:S) CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(CONS1) = 1 Problem 1.3: SCC Processor: -> Pairs: CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) Problem 1.3: Subterm Processor: -> Pairs: CONS1(X1:S,mark(X2:S)) -> CONS1(X1:S,X2:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(CONS1) = 2 Problem 1.3: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.4: Subterm Processor: -> Pairs: CONS(mark(X1:S),X2:S) -> CONS(X1:S,X2:S) CONS(ok(X1:S),ok(X2:S)) -> CONS(X1:S,X2:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(CONS) = 1 Problem 1.4: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.5: Subterm Processor: -> Pairs: 2ND(mark(X:S)) -> 2ND(X:S) 2ND(ok(X:S)) -> 2ND(X:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(2ND) = 1 Problem 1.5: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.6: Subterm Processor: -> Pairs: ACTIVE(2nd(X:S)) -> ACTIVE(X:S) ACTIVE(cons(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X1:S) ACTIVE(cons1(X1:S,X2:S)) -> ACTIVE(X2:S) ACTIVE(from(X:S)) -> ACTIVE(X:S) ACTIVE(s(X:S)) -> ACTIVE(X:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(ACTIVE) = 1 Problem 1.6: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.7: Subterm Processor: -> Pairs: PROPER(2nd(X:S)) -> PROPER(X:S) PROPER(cons(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons(X1:S,X2:S)) -> PROPER(X2:S) PROPER(cons1(X1:S,X2:S)) -> PROPER(X1:S) PROPER(cons1(X1:S,X2:S)) -> PROPER(X2:S) PROPER(from(X:S)) -> PROPER(X:S) PROPER(s(X:S)) -> PROPER(X:S) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Projection: pi(PROPER) = 1 Problem 1.7: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite. Problem 1.8: Reduction Pairs Processor: -> Pairs: TOP(mark(X:S)) -> TOP(proper(X:S)) TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) -> Usable rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [2nd](X) = 2.X + 2 [active](X) = 2.X + 2 [cons](X1,X2) = 2.X1 + X2 + 2 [cons1](X1,X2) = 2.X1 + 2.X2 + 2 [from](X) = 2.X + 2 [proper](X) = X [s](X) = X [top](X) = 0 [fSNonEmpty] = 0 [mark](X) = X + 2 [ok](X) = 2.X + 2 [2ND](X) = 0 [ACTIVE](X) = 0 [CONS](X1,X2) = 0 [CONS1](X1,X2) = 0 [FROM](X) = 0 [PROPER](X) = 0 [S](X) = 0 [TOP](X) = 2.X Problem 1.8: SCC Processor: -> Pairs: TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: ->->Cycle: ->->-> Pairs: TOP(ok(X:S)) -> TOP(active(X:S)) ->->-> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) Problem 1.8: Reduction Pairs Processor: -> Pairs: TOP(ok(X:S)) -> TOP(active(X:S)) -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) -> Usable rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) ->Interpretation type: Linear ->Coefficients: Natural Numbers ->Dimension: 1 ->Bound: 2 ->Interpretation: [2nd](X) = 2.X + 2 [active](X) = 2.X + 1 [cons](X1,X2) = X1 + X2 + 2 [cons1](X1,X2) = X1 + 2.X2 + 2 [from](X) = 2.X + 2 [proper](X) = 0 [s](X) = X [top](X) = 0 [fSNonEmpty] = 0 [mark](X) = X + 1 [ok](X) = 2.X + 2 [2ND](X) = 0 [ACTIVE](X) = 0 [CONS](X1,X2) = 0 [CONS1](X1,X2) = 0 [FROM](X) = 0 [PROPER](X) = 0 [S](X) = 0 [TOP](X) = X Problem 1.8: SCC Processor: -> Pairs: Empty -> Rules: 2nd(mark(X:S)) -> mark(2nd(X:S)) 2nd(ok(X:S)) -> ok(2nd(X:S)) active(2nd(cons(X:S,X1:S))) -> mark(2nd(cons1(X:S,X1:S))) active(2nd(cons1(X:S,cons(Y:S,Z:S)))) -> mark(Y:S) active(2nd(X:S)) -> 2nd(active(X:S)) active(cons(X1:S,X2:S)) -> cons(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(active(X1:S),X2:S) active(cons1(X1:S,X2:S)) -> cons1(X1:S,active(X2:S)) active(from(X:S)) -> from(active(X:S)) active(from(X:S)) -> mark(cons(X:S,from(s(X:S)))) active(s(X:S)) -> s(active(X:S)) cons(mark(X1:S),X2:S) -> mark(cons(X1:S,X2:S)) cons(ok(X1:S),ok(X2:S)) -> ok(cons(X1:S,X2:S)) cons1(mark(X1:S),X2:S) -> mark(cons1(X1:S,X2:S)) cons1(ok(X1:S),ok(X2:S)) -> ok(cons1(X1:S,X2:S)) cons1(X1:S,mark(X2:S)) -> mark(cons1(X1:S,X2:S)) from(mark(X:S)) -> mark(from(X:S)) from(ok(X:S)) -> ok(from(X:S)) proper(2nd(X:S)) -> 2nd(proper(X:S)) proper(cons(X1:S,X2:S)) -> cons(proper(X1:S),proper(X2:S)) proper(cons1(X1:S,X2:S)) -> cons1(proper(X1:S),proper(X2:S)) proper(from(X:S)) -> from(proper(X:S)) proper(s(X:S)) -> s(proper(X:S)) s(mark(X:S)) -> mark(s(X:S)) s(ok(X:S)) -> ok(s(X:S)) top(mark(X:S)) -> top(proper(X:S)) top(ok(X:S)) -> top(active(X:S)) ->Strongly Connected Components: There is no strongly connected component The problem is finite.