YES
0 RelTRS
↳1 RelTRS S Cleaner (⇔, 0 ms)
↳2 RelTRS
↳3 RelTRSRRRProof (⇔, 83 ms)
↳4 RelTRS
↳5 RelTRSRRRProof (⇔, 13 ms)
↳6 RelTRS
↳7 RelTRSRRRProof (⇔, 0 ms)
↳8 RelTRS
↳9 RIsEmptyProof (⇔, 0 ms)
↳10 YES
topB(i, N1(x), y) → topA(1, T1(x), y)
topA(i, x, N2(y)) → topB(0, x, T2(y))
topB(i, S1(x), y) → topA(i, N1(x), y)
topA(i, x, S2(y)) → topB(i, x, N2(y))
topA(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, x, N2(y)) → topB(i, x, N2(C(y)))
topA(i, S1(x), y) → topA(i, N1(x), y)
topB(i, x, S2(y)) → topB(i, x, N2(y))
topB(i, x, N2(y)) → topB(0, x, T2(y))
topA(i, T1(x), y) → topA(i, T1(x), y)
topB(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(i, N1(x), y) → topA(i, N1(C(x)), y)
topB(i, x, T2(y)) → topB(i, x, T2(y))
topB(i, x, S2(y)) → topB(i, x, S2(D(y)))
topA(i, N1(x), y) → topA(1, T1(x), y)
topA(i, T1(x), y) → topA(i, T1(x), y)
topB(i, x, T2(y)) → topB(i, x, T2(y))
topB(i, N1(x), y) → topA(1, T1(x), y)
topA(i, x, N2(y)) → topB(0, x, T2(y))
topB(i, S1(x), y) → topA(i, N1(x), y)
topA(i, x, S2(y)) → topB(i, x, N2(y))
topA(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, x, N2(y)) → topB(i, x, N2(C(y)))
topA(i, S1(x), y) → topA(i, N1(x), y)
topB(i, x, S2(y)) → topB(i, x, N2(y))
topB(i, x, N2(y)) → topB(0, x, T2(y))
topB(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(i, N1(x), y) → topA(i, N1(C(x)), y)
topB(i, x, S2(y)) → topB(i, x, S2(D(y)))
topA(i, N1(x), y) → topA(1, T1(x), y)
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
POL(0) = 0
POL(1) = 0
POL(C(x1)) = x1
POL(D(x1)) = x1
POL(N1(x1)) = 1 + x1
POL(N2(x1)) = 1 + x1
POL(S1(x1)) = 1 + x1
POL(S2(x1)) = 1 + x1
POL(T1(x1)) = x1
POL(T2(x1)) = 1 + x1
POL(topA(x1, x2, x3)) = x1 + x2 + x3
POL(topB(x1, x2, x3)) = x1 + x2 + x3
Rules from S:
topB(i, N1(x), y) → topA(1, T1(x), y)
topA(i, N1(x), y) → topA(1, T1(x), y)
topA(i, x, N2(y)) → topB(0, x, T2(y))
topB(i, S1(x), y) → topA(i, N1(x), y)
topA(i, x, S2(y)) → topB(i, x, N2(y))
topA(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, x, N2(y)) → topB(i, x, N2(C(y)))
topA(i, S1(x), y) → topA(i, N1(x), y)
topB(i, x, S2(y)) → topB(i, x, N2(y))
topB(i, x, N2(y)) → topB(0, x, T2(y))
topB(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(i, N1(x), y) → topA(i, N1(C(x)), y)
topB(i, x, S2(y)) → topB(i, x, S2(D(y)))
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
POL(0) = 0
POL(1) = 0
POL(C(x1)) = x1
POL(D(x1)) = x1
POL(N1(x1)) = x1
POL(N2(x1)) = 1 + x1
POL(S1(x1)) = 1 + x1
POL(S2(x1)) = 1 + x1
POL(T1(x1)) = x1
POL(T2(x1)) = 1 + x1
POL(topA(x1, x2, x3)) = x1 + x2 + x3
POL(topB(x1, x2, x3)) = x1 + x2 + x3
Rules from S:
topB(i, S1(x), y) → topA(i, N1(x), y)
topA(i, S1(x), y) → topA(i, N1(x), y)
topA(i, x, N2(y)) → topB(0, x, T2(y))
topA(i, x, S2(y)) → topB(i, x, N2(y))
topA(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, x, N2(y)) → topB(i, x, N2(C(y)))
topB(i, x, S2(y)) → topB(i, x, N2(y))
topB(i, x, N2(y)) → topB(0, x, T2(y))
topB(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(i, N1(x), y) → topA(i, N1(C(x)), y)
topB(i, x, S2(y)) → topB(i, x, S2(D(y)))
With this ordering the following rules can be removed [MATRO] because they are oriented strictly:
POL(0) = 0
POL(1) = 0
POL(C(x1)) = x1
POL(D(x1)) = x1
POL(N1(x1)) = x1
POL(N2(x1)) = x1
POL(S2(x1)) = x1
POL(T1(x1)) = x1
POL(T2(x1)) = x1
POL(topA(x1, x2, x3)) = 1 + x1 + x2 + x3
POL(topB(x1, x2, x3)) = x1 + x2 + x3
Rules from S:
topA(i, x, N2(y)) → topB(0, x, T2(y))
topA(i, x, S2(y)) → topB(i, x, N2(y))
topA(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, x, N2(y)) → topB(i, x, N2(C(y)))
topB(i, x, S2(y)) → topB(i, x, N2(y))
topB(i, x, N2(y)) → topB(0, x, T2(y))
topB(1, T1(x), T2(y)) → topB(1, T1(x), S2(y))
topB(i, N1(x), T2(y)) → topB(i, N1(x), S2(y))
topA(i, N1(x), y) → topA(i, N1(C(x)), y)
topB(i, x, S2(y)) → topB(i, x, S2(D(y)))