YES Problem: active(nats()) -> mark(adx(zeros())) active(zeros()) -> mark(cons(0(),zeros())) active(incr(cons(X,Y))) -> mark(cons(s(X),incr(Y))) active(adx(cons(X,Y))) -> mark(incr(cons(X,adx(Y)))) active(hd(cons(X,Y))) -> mark(X) active(tl(cons(X,Y))) -> mark(Y) mark(nats()) -> active(nats()) mark(adx(X)) -> active(adx(mark(X))) mark(zeros()) -> active(zeros()) mark(cons(X1,X2)) -> active(cons(X1,X2)) mark(0()) -> active(0()) mark(incr(X)) -> active(incr(mark(X))) mark(s(X)) -> active(s(X)) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(mark(X)) -> adx(X) adx(active(X)) -> adx(X) cons(mark(X1),X2) -> cons(X1,X2) cons(X1,mark(X2)) -> cons(X1,X2) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(mark(X)) -> incr(X) incr(active(X)) -> incr(X) s(mark(X)) -> s(X) s(active(X)) -> s(X) hd(mark(X)) -> hd(X) hd(active(X)) -> hd(X) tl(mark(X)) -> tl(X) tl(active(X)) -> tl(X) Proof: Matrix Interpretation Processor: dim=1 interpretation: [tl](x0) = x0 + 2, [hd](x0) = 4x0 + 7, [s](x0) = x0, [incr](x0) = x0, [cons](x0, x1) = x0 + 4x1, [0] = 0, [mark](x0) = x0, [adx](x0) = 2x0, [zeros] = 0, [active](x0) = x0, [nats] = 4 orientation: active(nats()) = 4 >= 0 = mark(adx(zeros())) active(zeros()) = 0 >= 0 = mark(cons(0(),zeros())) active(incr(cons(X,Y))) = X + 4Y >= X + 4Y = mark(cons(s(X),incr(Y))) active(adx(cons(X,Y))) = 2X + 8Y >= X + 8Y = mark(incr(cons(X,adx(Y)))) active(hd(cons(X,Y))) = 4X + 16Y + 7 >= X = mark(X) active(tl(cons(X,Y))) = X + 4Y + 2 >= Y = mark(Y) mark(nats()) = 4 >= 4 = active(nats()) mark(adx(X)) = 2X >= 2X = active(adx(mark(X))) mark(zeros()) = 0 >= 0 = active(zeros()) mark(cons(X1,X2)) = X1 + 4X2 >= X1 + 4X2 = active(cons(X1,X2)) mark(0()) = 0 >= 0 = active(0()) mark(incr(X)) = X >= X = active(incr(mark(X))) mark(s(X)) = X >= X = active(s(X)) mark(hd(X)) = 4X + 7 >= 4X + 7 = active(hd(mark(X))) mark(tl(X)) = X + 2 >= X + 2 = active(tl(mark(X))) adx(mark(X)) = 2X >= 2X = adx(X) adx(active(X)) = 2X >= 2X = adx(X) cons(mark(X1),X2) = X1 + 4X2 >= X1 + 4X2 = cons(X1,X2) cons(X1,mark(X2)) = X1 + 4X2 >= X1 + 4X2 = cons(X1,X2) cons(active(X1),X2) = X1 + 4X2 >= X1 + 4X2 = cons(X1,X2) cons(X1,active(X2)) = X1 + 4X2 >= X1 + 4X2 = cons(X1,X2) incr(mark(X)) = X >= X = incr(X) incr(active(X)) = X >= X = incr(X) s(mark(X)) = X >= X = s(X) s(active(X)) = X >= X = s(X) hd(mark(X)) = 4X + 7 >= 4X + 7 = hd(X) hd(active(X)) = 4X + 7 >= 4X + 7 = hd(X) tl(mark(X)) = X + 2 >= X + 2 = tl(X) tl(active(X)) = X + 2 >= X + 2 = tl(X) problem: active(zeros()) -> mark(cons(0(),zeros())) active(incr(cons(X,Y))) -> mark(cons(s(X),incr(Y))) active(adx(cons(X,Y))) -> mark(incr(cons(X,adx(Y)))) mark(nats()) -> active(nats()) mark(adx(X)) -> active(adx(mark(X))) mark(zeros()) -> active(zeros()) mark(cons(X1,X2)) -> active(cons(X1,X2)) mark(0()) -> active(0()) mark(incr(X)) -> active(incr(mark(X))) mark(s(X)) -> active(s(X)) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(mark(X)) -> adx(X) adx(active(X)) -> adx(X) cons(mark(X1),X2) -> cons(X1,X2) cons(X1,mark(X2)) -> cons(X1,X2) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(mark(X)) -> incr(X) incr(active(X)) -> incr(X) s(mark(X)) -> s(X) s(active(X)) -> s(X) hd(mark(X)) -> hd(X) hd(active(X)) -> hd(X) tl(mark(X)) -> tl(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=3 interpretation: [1 0 0] [tl](x0) = [0 0 0]x0 [0 0 1] , [1 0 0] [hd](x0) = [0 0 0]x0 [0 0 1] , [1 0 0] [s](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [incr](x0) = [0 0 0]x0 [0 0 1] , [1 0 0] [1 0 0] [cons](x0, x1) = [0 0 0]x0 + [0 0 0]x1 [0 0 0] [0 0 0] , [0] [0] = [0] [0], [1 0 1] [mark](x0) = [0 0 1]x0 [0 0 1] , [1 0 0] [1] [adx](x0) = [0 0 0]x0 + [0] [0 0 1] [0], [0] [zeros] = [1] [1], [1 1 0] [active](x0) = [0 0 1]x0 [0 0 1] , [0] [nats] = [0] [0] orientation: [1] [0] active(zeros()) = [1] >= [0] = mark(cons(0(),zeros())) [1] [0] [1 0 0] [1 0 0] [1 0 0] [1 0 0] active(incr(cons(X,Y))) = [0 0 0]X + [0 0 0]Y >= [0 0 0]X + [0 0 0]Y = mark(cons(s(X),incr(Y))) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 0 0] [1] [1 0 0] [1 0 0] [1] active(adx(cons(X,Y))) = [0 0 0]X + [0 0 0]Y + [0] >= [0 0 0]X + [0 0 0]Y + [0] = mark(incr(cons(X,adx(Y)))) [0 0 0] [0 0 0] [0] [0 0 0] [0 0 0] [0] [0] [0] mark(nats()) = [0] >= [0] = active(nats()) [0] [0] [1 0 1] [1] [1 0 1] [1] mark(adx(X)) = [0 0 1]X + [0] >= [0 0 1]X + [0] = active(adx(mark(X))) [0 0 1] [0] [0 0 1] [0] [1] [1] mark(zeros()) = [1] >= [1] = active(zeros()) [1] [1] [1 0 0] [1 0 0] [1 0 0] [1 0 0] mark(cons(X1,X2)) = [0 0 0]X1 + [0 0 0]X2 >= [0 0 0]X1 + [0 0 0]X2 = active(cons(X1,X2)) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0] [0] mark(0()) = [0] >= [0] = active(0()) [0] [0] [1 0 1] [1 0 1] mark(incr(X)) = [0 0 1]X >= [0 0 1]X = active(incr(mark(X))) [0 0 1] [0 0 1] [1 0 0] [1 0 0] mark(s(X)) = [0 0 0]X >= [0 0 0]X = active(s(X)) [0 0 0] [0 0 0] [1 0 1] [1 0 1] mark(hd(X)) = [0 0 1]X >= [0 0 1]X = active(hd(mark(X))) [0 0 1] [0 0 1] [1 0 1] [1 0 1] mark(tl(X)) = [0 0 1]X >= [0 0 1]X = active(tl(mark(X))) [0 0 1] [0 0 1] [1 0 1] [1] [1 0 0] [1] adx(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = adx(X) [0 0 1] [0] [0 0 1] [0] [1 1 0] [1] [1 0 0] [1] adx(active(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = adx(X) [0 0 1] [0] [0 0 1] [0] [1 0 1] [1 0 0] [1 0 0] [1 0 0] cons(mark(X1),X2) = [0 0 0]X1 + [0 0 0]X2 >= [0 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 0 1] [1 0 0] [1 0 0] cons(X1,mark(X2)) = [0 0 0]X1 + [0 0 0]X2 >= [0 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 1 0] [1 0 0] [1 0 0] [1 0 0] cons(active(X1),X2) = [0 0 0]X1 + [0 0 0]X2 >= [0 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 1 0] [1 0 0] [1 0 0] cons(X1,active(X2)) = [0 0 0]X1 + [0 0 0]X2 >= [0 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 1] [1 0 0] incr(mark(X)) = [0 0 0]X >= [0 0 0]X = incr(X) [0 0 1] [0 0 1] [1 1 0] [1 0 0] incr(active(X)) = [0 0 0]X >= [0 0 0]X = incr(X) [0 0 1] [0 0 1] [1 0 1] [1 0 0] s(mark(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 1 0] [1 0 0] s(active(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 0 1] [1 0 0] hd(mark(X)) = [0 0 0]X >= [0 0 0]X = hd(X) [0 0 1] [0 0 1] [1 1 0] [1 0 0] hd(active(X)) = [0 0 0]X >= [0 0 0]X = hd(X) [0 0 1] [0 0 1] [1 0 1] [1 0 0] tl(mark(X)) = [0 0 0]X >= [0 0 0]X = tl(X) [0 0 1] [0 0 1] [1 1 0] [1 0 0] tl(active(X)) = [0 0 0]X >= [0 0 0]X = tl(X) [0 0 1] [0 0 1] problem: active(incr(cons(X,Y))) -> mark(cons(s(X),incr(Y))) active(adx(cons(X,Y))) -> mark(incr(cons(X,adx(Y)))) mark(nats()) -> active(nats()) mark(adx(X)) -> active(adx(mark(X))) mark(zeros()) -> active(zeros()) mark(cons(X1,X2)) -> active(cons(X1,X2)) mark(0()) -> active(0()) mark(incr(X)) -> active(incr(mark(X))) mark(s(X)) -> active(s(X)) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(mark(X)) -> adx(X) adx(active(X)) -> adx(X) cons(mark(X1),X2) -> cons(X1,X2) cons(X1,mark(X2)) -> cons(X1,X2) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(mark(X)) -> incr(X) incr(active(X)) -> incr(X) s(mark(X)) -> s(X) s(active(X)) -> s(X) hd(mark(X)) -> hd(X) hd(active(X)) -> hd(X) tl(mark(X)) -> tl(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=3 interpretation: [1 0 0] [tl](x0) = [1 0 0]x0 [0 0 1] , [1 0 0] [0] [hd](x0) = [1 0 0]x0 + [1] [0 0 1] [0], [1 0 0] [s](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [incr](x0) = [0 0 0]x0 [0 0 1] , [1 0 0] [1 0 0] [cons](x0, x1) = [1 0 0]x0 + [0 0 0]x1 [0 0 0] [0 0 0] , [0] [0] = [0] [0], [1 0 1] [mark](x0) = [0 0 0]x0 [0 0 1] , [1 0 0] [0] [adx](x0) = [0 0 0]x0 + [0] [0 0 1] [1], [0] [zeros] = [0] [0], [1 0 0] [active](x0) = [0 0 0]x0 [0 0 1] , [0] [nats] = [0] [0] orientation: [1 0 0] [1 0 0] [1 0 0] [1 0 0] active(incr(cons(X,Y))) = [0 0 0]X + [0 0 0]Y >= [0 0 0]X + [0 0 0]Y = mark(cons(s(X),incr(Y))) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 0 0] [0] [1 0 0] [1 0 0] active(adx(cons(X,Y))) = [0 0 0]X + [0 0 0]Y + [0] >= [0 0 0]X + [0 0 0]Y = mark(incr(cons(X,adx(Y)))) [0 0 0] [0 0 0] [1] [0 0 0] [0 0 0] [0] [0] mark(nats()) = [0] >= [0] = active(nats()) [0] [0] [1 0 1] [1] [1 0 1] [0] mark(adx(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = active(adx(mark(X))) [0 0 1] [1] [0 0 1] [1] [0] [0] mark(zeros()) = [0] >= [0] = active(zeros()) [0] [0] [1 0 0] [1 0 0] [1 0 0] [1 0 0] mark(cons(X1,X2)) = [0 0 0]X1 + [0 0 0]X2 >= [0 0 0]X1 + [0 0 0]X2 = active(cons(X1,X2)) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [0] [0] mark(0()) = [0] >= [0] = active(0()) [0] [0] [1 0 1] [1 0 1] mark(incr(X)) = [0 0 0]X >= [0 0 0]X = active(incr(mark(X))) [0 0 1] [0 0 1] [1 0 0] [1 0 0] mark(s(X)) = [0 0 0]X >= [0 0 0]X = active(s(X)) [0 0 0] [0 0 0] [1 0 1] [1 0 1] mark(hd(X)) = [0 0 0]X >= [0 0 0]X = active(hd(mark(X))) [0 0 1] [0 0 1] [1 0 1] [1 0 1] mark(tl(X)) = [0 0 0]X >= [0 0 0]X = active(tl(mark(X))) [0 0 1] [0 0 1] [1 0 1] [0] [1 0 0] [0] adx(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = adx(X) [0 0 1] [1] [0 0 1] [1] [1 0 0] [0] [1 0 0] [0] adx(active(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = adx(X) [0 0 1] [1] [0 0 1] [1] [1 0 1] [1 0 0] [1 0 0] [1 0 0] cons(mark(X1),X2) = [1 0 1]X1 + [0 0 0]X2 >= [1 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 0 1] [1 0 0] [1 0 0] cons(X1,mark(X2)) = [1 0 0]X1 + [0 0 0]X2 >= [1 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 0 0] [1 0 0] [1 0 0] cons(active(X1),X2) = [1 0 0]X1 + [0 0 0]X2 >= [1 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 0 0] [1 0 0] [1 0 0] cons(X1,active(X2)) = [1 0 0]X1 + [0 0 0]X2 >= [1 0 0]X1 + [0 0 0]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 1] [1 0 0] incr(mark(X)) = [0 0 0]X >= [0 0 0]X = incr(X) [0 0 1] [0 0 1] [1 0 0] [1 0 0] incr(active(X)) = [0 0 0]X >= [0 0 0]X = incr(X) [0 0 1] [0 0 1] [1 0 1] [1 0 0] s(mark(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 0 0] [1 0 0] s(active(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 0 1] [0] [1 0 0] [0] hd(mark(X)) = [1 0 1]X + [1] >= [1 0 0]X + [1] = hd(X) [0 0 1] [0] [0 0 1] [0] [1 0 0] [0] [1 0 0] [0] hd(active(X)) = [1 0 0]X + [1] >= [1 0 0]X + [1] = hd(X) [0 0 1] [0] [0 0 1] [0] [1 0 1] [1 0 0] tl(mark(X)) = [1 0 1]X >= [1 0 0]X = tl(X) [0 0 1] [0 0 1] [1 0 0] [1 0 0] tl(active(X)) = [1 0 0]X >= [1 0 0]X = tl(X) [0 0 1] [0 0 1] problem: active(incr(cons(X,Y))) -> mark(cons(s(X),incr(Y))) active(adx(cons(X,Y))) -> mark(incr(cons(X,adx(Y)))) mark(nats()) -> active(nats()) mark(zeros()) -> active(zeros()) mark(cons(X1,X2)) -> active(cons(X1,X2)) mark(0()) -> active(0()) mark(incr(X)) -> active(incr(mark(X))) mark(s(X)) -> active(s(X)) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(mark(X)) -> adx(X) adx(active(X)) -> adx(X) cons(mark(X1),X2) -> cons(X1,X2) cons(X1,mark(X2)) -> cons(X1,X2) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(mark(X)) -> incr(X) incr(active(X)) -> incr(X) s(mark(X)) -> s(X) s(active(X)) -> s(X) hd(mark(X)) -> hd(X) hd(active(X)) -> hd(X) tl(mark(X)) -> tl(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=3 interpretation: [1 0 0] [0] [tl](x0) = [0 0 0]x0 + [0] [0 0 0] [1], [1 0 0] [hd](x0) = [0 0 1]x0 [0 0 0] , [1 0 1] [s](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [incr](x0) = [0 0 0]x0 [0 0 1] , [1 0 1] [1 0 0] [0] [cons](x0, x1) = [0 0 0]x0 + [0 0 0]x1 + [0] [0 0 0] [0 0 1] [1], [0] [0] = [0] [0], [1 0 0] [mark](x0) = [0 0 0]x0 [0 0 1] , [1 0 1] [adx](x0) = [0 0 0]x0 [0 0 1] , [0] [zeros] = [0] [0], [1 0 0] [active](x0) = [0 0 0]x0 [0 0 1] , [0] [nats] = [0] [0] orientation: [1 0 1] [1 0 0] [0] [1 0 1] [1 0 0] [0] active(incr(cons(X,Y))) = [0 0 0]X + [0 0 0]Y + [0] >= [0 0 0]X + [0 0 0]Y + [0] = mark(cons(s(X),incr(Y))) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [1 0 1] [1 0 1] [1] [1 0 1] [1 0 1] [0] active(adx(cons(X,Y))) = [0 0 0]X + [0 0 0]Y + [0] >= [0 0 0]X + [0 0 0]Y + [0] = mark(incr(cons(X,adx(Y)))) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [0] [0] mark(nats()) = [0] >= [0] = active(nats()) [0] [0] [0] [0] mark(zeros()) = [0] >= [0] = active(zeros()) [0] [0] [1 0 1] [1 0 0] [0] [1 0 1] [1 0 0] [0] mark(cons(X1,X2)) = [0 0 0]X1 + [0 0 0]X2 + [0] >= [0 0 0]X1 + [0 0 0]X2 + [0] = active(cons(X1,X2)) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [0] [0] mark(0()) = [0] >= [0] = active(0()) [0] [0] [1 0 0] [1 0 0] mark(incr(X)) = [0 0 0]X >= [0 0 0]X = active(incr(mark(X))) [0 0 1] [0 0 1] [1 0 1] [1 0 1] mark(s(X)) = [0 0 0]X >= [0 0 0]X = active(s(X)) [0 0 0] [0 0 0] [1 0 0] [1 0 0] mark(hd(X)) = [0 0 0]X >= [0 0 0]X = active(hd(mark(X))) [0 0 0] [0 0 0] [1 0 0] [0] [1 0 0] [0] mark(tl(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = active(tl(mark(X))) [0 0 0] [1] [0 0 0] [1] [1 0 1] [1 0 1] adx(mark(X)) = [0 0 0]X >= [0 0 0]X = adx(X) [0 0 1] [0 0 1] [1 0 1] [1 0 1] adx(active(X)) = [0 0 0]X >= [0 0 0]X = adx(X) [0 0 1] [0 0 1] [1 0 1] [1 0 0] [0] [1 0 1] [1 0 0] [0] cons(mark(X1),X2) = [0 0 0]X1 + [0 0 0]X2 + [0] >= [0 0 0]X1 + [0 0 0]X2 + [0] = cons(X1,X2) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [1 0 1] [1 0 0] [0] [1 0 1] [1 0 0] [0] cons(X1,mark(X2)) = [0 0 0]X1 + [0 0 0]X2 + [0] >= [0 0 0]X1 + [0 0 0]X2 + [0] = cons(X1,X2) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [1 0 1] [1 0 0] [0] [1 0 1] [1 0 0] [0] cons(active(X1),X2) = [0 0 0]X1 + [0 0 0]X2 + [0] >= [0 0 0]X1 + [0 0 0]X2 + [0] = cons(X1,X2) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [1 0 1] [1 0 0] [0] [1 0 1] [1 0 0] [0] cons(X1,active(X2)) = [0 0 0]X1 + [0 0 0]X2 + [0] >= [0 0 0]X1 + [0 0 0]X2 + [0] = cons(X1,X2) [0 0 0] [0 0 1] [1] [0 0 0] [0 0 1] [1] [1 0 0] [1 0 0] incr(mark(X)) = [0 0 0]X >= [0 0 0]X = incr(X) [0 0 1] [0 0 1] [1 0 0] [1 0 0] incr(active(X)) = [0 0 0]X >= [0 0 0]X = incr(X) [0 0 1] [0 0 1] [1 0 1] [1 0 1] s(mark(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 0 1] [1 0 1] s(active(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 0 0] [1 0 0] hd(mark(X)) = [0 0 1]X >= [0 0 1]X = hd(X) [0 0 0] [0 0 0] [1 0 0] [1 0 0] hd(active(X)) = [0 0 1]X >= [0 0 1]X = hd(X) [0 0 0] [0 0 0] [1 0 0] [0] [1 0 0] [0] tl(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = tl(X) [0 0 0] [1] [0 0 0] [1] [1 0 0] [0] [1 0 0] [0] tl(active(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = tl(X) [0 0 0] [1] [0 0 0] [1] problem: active(incr(cons(X,Y))) -> mark(cons(s(X),incr(Y))) mark(nats()) -> active(nats()) mark(zeros()) -> active(zeros()) mark(cons(X1,X2)) -> active(cons(X1,X2)) mark(0()) -> active(0()) mark(incr(X)) -> active(incr(mark(X))) mark(s(X)) -> active(s(X)) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(mark(X)) -> adx(X) adx(active(X)) -> adx(X) cons(mark(X1),X2) -> cons(X1,X2) cons(X1,mark(X2)) -> cons(X1,X2) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(mark(X)) -> incr(X) incr(active(X)) -> incr(X) s(mark(X)) -> s(X) s(active(X)) -> s(X) hd(mark(X)) -> hd(X) hd(active(X)) -> hd(X) tl(mark(X)) -> tl(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=3 interpretation: [1 0 0] [tl](x0) = [0 0 0]x0 [0 1 0] , [1 0 0] [hd](x0) = [0 0 0]x0 [1 0 0] , [1 0 0] [s](x0) = [0 0 0]x0 [0 0 0] , [1 1 0] [incr](x0) = [0 1 0]x0 [0 0 0] , [1 0 0] [1 0 0] [0] [cons](x0, x1) = [0 0 0]x0 + [0 1 0]x1 + [1] [0 0 0] [0 0 0] [1], [0] [0] = [0] [0], [1 0 0] [1] [mark](x0) = [0 1 0]x0 + [0] [0 0 0] [0], [1 0 0] [adx](x0) = [0 0 0]x0 [0 0 0] , [0] [zeros] = [0] [0], [1 0 0] [active](x0) = [0 1 0]x0 [0 0 0] , [0] [nats] = [0] [0] orientation: [1 0 0] [1 1 0] [1] [1 0 0] [1 1 0] [1] active(incr(cons(X,Y))) = [0 0 0]X + [0 1 0]Y + [1] >= [0 0 0]X + [0 1 0]Y + [1] = mark(cons(s(X),incr(Y))) [0 0 0] [0 0 0] [0] [0 0 0] [0 0 0] [0] [1] [0] mark(nats()) = [0] >= [0] = active(nats()) [0] [0] [1] [0] mark(zeros()) = [0] >= [0] = active(zeros()) [0] [0] [1 0 0] [1 0 0] [1] [1 0 0] [1 0 0] [0] mark(cons(X1,X2)) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = active(cons(X1,X2)) [0 0 0] [0 0 0] [0] [0 0 0] [0 0 0] [0] [1] [0] mark(0()) = [0] >= [0] = active(0()) [0] [0] [1 1 0] [1] [1 1 0] [1] mark(incr(X)) = [0 1 0]X + [0] >= [0 1 0]X + [0] = active(incr(mark(X))) [0 0 0] [0] [0 0 0] [0] [1 0 0] [1] [1 0 0] mark(s(X)) = [0 0 0]X + [0] >= [0 0 0]X = active(s(X)) [0 0 0] [0] [0 0 0] [1 0 0] [1] [1 0 0] [1] mark(hd(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = active(hd(mark(X))) [0 0 0] [0] [0 0 0] [0] [1 0 0] [1] [1 0 0] [1] mark(tl(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = active(tl(mark(X))) [0 0 0] [0] [0 0 0] [0] [1 0 0] [1] [1 0 0] adx(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X = adx(X) [0 0 0] [0] [0 0 0] [1 0 0] [1 0 0] adx(active(X)) = [0 0 0]X >= [0 0 0]X = adx(X) [0 0 0] [0 0 0] [1 0 0] [1 0 0] [1] [1 0 0] [1 0 0] [0] cons(mark(X1),X2) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = cons(X1,X2) [0 0 0] [0 0 0] [1] [0 0 0] [0 0 0] [1] [1 0 0] [1 0 0] [1] [1 0 0] [1 0 0] [0] cons(X1,mark(X2)) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = cons(X1,X2) [0 0 0] [0 0 0] [1] [0 0 0] [0 0 0] [1] [1 0 0] [1 0 0] [0] [1 0 0] [1 0 0] [0] cons(active(X1),X2) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = cons(X1,X2) [0 0 0] [0 0 0] [1] [0 0 0] [0 0 0] [1] [1 0 0] [1 0 0] [0] [1 0 0] [1 0 0] [0] cons(X1,active(X2)) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = cons(X1,X2) [0 0 0] [0 0 0] [1] [0 0 0] [0 0 0] [1] [1 1 0] [1] [1 1 0] incr(mark(X)) = [0 1 0]X + [0] >= [0 1 0]X = incr(X) [0 0 0] [0] [0 0 0] [1 1 0] [1 1 0] incr(active(X)) = [0 1 0]X >= [0 1 0]X = incr(X) [0 0 0] [0 0 0] [1 0 0] [1] [1 0 0] s(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X = s(X) [0 0 0] [0] [0 0 0] [1 0 0] [1 0 0] s(active(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 0 0] [1] [1 0 0] hd(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X = hd(X) [1 0 0] [1] [1 0 0] [1 0 0] [1 0 0] hd(active(X)) = [0 0 0]X >= [0 0 0]X = hd(X) [1 0 0] [1 0 0] [1 0 0] [1] [1 0 0] tl(mark(X)) = [0 0 0]X + [0] >= [0 0 0]X = tl(X) [0 1 0] [0] [0 1 0] [1 0 0] [1 0 0] tl(active(X)) = [0 0 0]X >= [0 0 0]X = tl(X) [0 1 0] [0 1 0] problem: active(incr(cons(X,Y))) -> mark(cons(s(X),incr(Y))) mark(incr(X)) -> active(incr(mark(X))) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(active(X)) -> adx(X) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(active(X)) -> incr(X) s(active(X)) -> s(X) hd(active(X)) -> hd(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=3 interpretation: [1 0 0] [tl](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [hd](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [0] [s](x0) = [0 1 0]x0 + [1] [0 0 0] [1], [1 0 0] [incr](x0) = [0 1 0]x0 [0 0 0] , [1 0 0] [1 0 0] [0] [cons](x0, x1) = [0 0 0]x0 + [0 1 0]x1 + [1] [0 1 0] [1 0 0] [0], [1 0 0] [mark](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [adx](x0) = [0 0 0]x0 [0 0 0] , [1 1 1] [active](x0) = [0 1 0]x0 [0 0 0] orientation: [1 0 0] [1 1 0] [1] [1 0 0] [1 0 0] active(incr(cons(X,Y))) = [0 0 0]X + [0 1 0]Y + [1] >= [0 0 0]X + [0 0 0]Y = mark(cons(s(X),incr(Y))) [0 0 0] [0 0 0] [0] [0 0 0] [0 0 0] [1 0 0] [1 0 0] mark(incr(X)) = [0 0 0]X >= [0 0 0]X = active(incr(mark(X))) [0 0 0] [0 0 0] [1 0 0] [1 0 0] mark(hd(X)) = [0 0 0]X >= [0 0 0]X = active(hd(mark(X))) [0 0 0] [0 0 0] [1 0 0] [1 0 0] mark(tl(X)) = [0 0 0]X >= [0 0 0]X = active(tl(mark(X))) [0 0 0] [0 0 0] [1 1 1] [1 0 0] adx(active(X)) = [0 0 0]X >= [0 0 0]X = adx(X) [0 0 0] [0 0 0] [1 1 1] [1 0 0] [0] [1 0 0] [1 0 0] [0] cons(active(X1),X2) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = cons(X1,X2) [0 1 0] [1 0 0] [0] [0 1 0] [1 0 0] [0] [1 0 0] [1 1 1] [0] [1 0 0] [1 0 0] [0] cons(X1,active(X2)) = [0 0 0]X1 + [0 1 0]X2 + [1] >= [0 0 0]X1 + [0 1 0]X2 + [1] = cons(X1,X2) [0 1 0] [1 1 1] [0] [0 1 0] [1 0 0] [0] [1 1 1] [1 0 0] incr(active(X)) = [0 1 0]X >= [0 1 0]X = incr(X) [0 0 0] [0 0 0] [1 1 1] [0] [1 0 0] [0] s(active(X)) = [0 1 0]X + [1] >= [0 1 0]X + [1] = s(X) [0 0 0] [1] [0 0 0] [1] [1 1 1] [1 0 0] hd(active(X)) = [0 0 0]X >= [0 0 0]X = hd(X) [0 0 0] [0 0 0] [1 1 1] [1 0 0] tl(active(X)) = [0 0 0]X >= [0 0 0]X = tl(X) [0 0 0] [0 0 0] problem: mark(incr(X)) -> active(incr(mark(X))) mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(active(X)) -> adx(X) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(active(X)) -> incr(X) s(active(X)) -> s(X) hd(active(X)) -> hd(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=3 interpretation: [1 0 0] [1] [tl](x0) = [0 0 0]x0 + [0] [0 0 1] [0], [1 1 0] [0] [hd](x0) = [0 0 0]x0 + [0] [0 0 1] [1], [1 0 0] [s](x0) = [0 0 0]x0 [0 0 0] , [1 0 0] [0] [incr](x0) = [0 0 0]x0 + [0] [0 0 1] [1], [1 0 0] [1 0 0] [cons](x0, x1) = [0 0 0]x0 + [0 0 1]x1 [0 0 0] [0 0 0] , [1 0 1] [0] [mark](x0) = [0 0 0]x0 + [1] [0 0 1] [0], [1 0 0] [adx](x0) = [0 0 0]x0 [0 0 0] , [1 1 0] [active](x0) = [0 0 0]x0 [0 1 1] orientation: [1 0 1] [1] [1 0 1] [0] mark(incr(X)) = [0 0 0]X + [1] >= [0 0 0]X + [0] = active(incr(mark(X))) [0 0 1] [1] [0 0 1] [1] [1 1 1] [1] [1 0 1] [1] mark(hd(X)) = [0 0 0]X + [1] >= [0 0 0]X + [0] = active(hd(mark(X))) [0 0 1] [1] [0 0 1] [1] [1 0 1] [1] [1 0 1] [1] mark(tl(X)) = [0 0 0]X + [1] >= [0 0 0]X + [0] = active(tl(mark(X))) [0 0 1] [0] [0 0 1] [0] [1 1 0] [1 0 0] adx(active(X)) = [0 0 0]X >= [0 0 0]X = adx(X) [0 0 0] [0 0 0] [1 1 0] [1 0 0] [1 0 0] [1 0 0] cons(active(X1),X2) = [0 0 0]X1 + [0 0 1]X2 >= [0 0 0]X1 + [0 0 1]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 0 0] [1 1 0] [1 0 0] [1 0 0] cons(X1,active(X2)) = [0 0 0]X1 + [0 1 1]X2 >= [0 0 0]X1 + [0 0 1]X2 = cons(X1,X2) [0 0 0] [0 0 0] [0 0 0] [0 0 0] [1 1 0] [0] [1 0 0] [0] incr(active(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = incr(X) [0 1 1] [1] [0 0 1] [1] [1 1 0] [1 0 0] s(active(X)) = [0 0 0]X >= [0 0 0]X = s(X) [0 0 0] [0 0 0] [1 1 0] [0] [1 1 0] [0] hd(active(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = hd(X) [0 1 1] [1] [0 0 1] [1] [1 1 0] [1] [1 0 0] [1] tl(active(X)) = [0 0 0]X + [0] >= [0 0 0]X + [0] = tl(X) [0 1 1] [0] [0 0 1] [0] problem: mark(hd(X)) -> active(hd(mark(X))) mark(tl(X)) -> active(tl(mark(X))) adx(active(X)) -> adx(X) cons(active(X1),X2) -> cons(X1,X2) cons(X1,active(X2)) -> cons(X1,X2) incr(active(X)) -> incr(X) s(active(X)) -> s(X) hd(active(X)) -> hd(X) tl(active(X)) -> tl(X) Matrix Interpretation Processor: dim=1 interpretation: [tl](x0) = 4x0 + 2, [hd](x0) = 7x0 + 2, [s](x0) = 4x0 + 5, [incr](x0) = 7x0 + 4, [cons](x0, x1) = 4x0 + x1 + 2, [mark](x0) = 3x0, [adx](x0) = 4x0 + 1, [active](x0) = x0 + 3 orientation: mark(hd(X)) = 21X + 6 >= 21X + 5 = active(hd(mark(X))) mark(tl(X)) = 12X + 6 >= 12X + 5 = active(tl(mark(X))) adx(active(X)) = 4X + 13 >= 4X + 1 = adx(X) cons(active(X1),X2) = 4X1 + X2 + 14 >= 4X1 + X2 + 2 = cons(X1,X2) cons(X1,active(X2)) = 4X1 + X2 + 5 >= 4X1 + X2 + 2 = cons(X1,X2) incr(active(X)) = 7X + 25 >= 7X + 4 = incr(X) s(active(X)) = 4X + 17 >= 4X + 5 = s(X) hd(active(X)) = 7X + 23 >= 7X + 2 = hd(X) tl(active(X)) = 4X + 14 >= 4X + 2 = tl(X) problem: Qed