YES Termination Proof

Termination Proof

by ttt2 (version ttt2 1.15)

Input

The rewrite relation of the following TRS is considered.

B(x0) → W(M(V(x0)))
M(x0) → x0
M(V(a(x0))) → V(Xa(x0))
M(V(b(x0))) → V(Xb(x0))
Xa(a(x0)) → a(Xa(x0))
Xa(b(x0)) → b(Xa(x0))
Xb(a(x0)) → a(Xb(x0))
Xb(b(x0)) → b(Xb(x0))
Xa(E(x0)) → a(E(x0))
Xb(E(x0)) → b(E(x0))
W(V(x0)) → R(L(x0))
L(a(x0)) → Ya(L(x0))
L(b(x0)) → Yb(L(x0))
L(a(a(x0))) → D(a(b(a(x0))))
Ya(D(x0)) → D(a(x0))
Yb(D(x0)) → D(b(x0))
R(D(x0)) → B(x0)

Proof

1 Rule Removal

Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1 over the naturals
[a(x1)] =
1 0 1
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
1 0 0
[E(x1)] =
1 1 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
1 0 0
[V(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
1 0 0
[W(x1)] =
1 0 0
0 0 0
1 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[Xa(x1)] =
1 0 0
0 0 0
0 0 1
· x1 +
1 0 0
0 0 0
0 0 0
[R(x1)] =
1 0 0
0 0 0
1 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[B(x1)] =
1 0 0
0 0 0
1 0 0
· x1 +
1 0 0
0 0 0
1 0 0
[Xb(x1)] =
1 0 0
0 0 0
0 0 1
· x1 +
0 0 0
0 0 0
0 0 0
[Yb(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[Ya(x1)] =
1 0 1
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
1 0 0
[L(x1)] =
1 0 0
0 0 0
0 0 1
· x1 +
0 0 0
0 0 0
0 0 0
[D(x1)] =
1 0 0
0 0 0
0 1 1
· x1 +
1 0 0
0 0 0
0 0 0
[b(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[M(x1)] =
1 0 0
1 1 1
0 0 1
· x1 +
1 0 0
1 0 0
1 0 0
the rules
B(x0) → W(M(V(x0)))
M(V(a(x0))) → V(Xa(x0))
Xa(a(x0)) → a(Xa(x0))
Xa(b(x0)) → b(Xa(x0))
Xb(a(x0)) → a(Xb(x0))
Xb(b(x0)) → b(Xb(x0))
Xa(E(x0)) → a(E(x0))
Xb(E(x0)) → b(E(x0))
W(V(x0)) → R(L(x0))
L(a(x0)) → Ya(L(x0))
L(b(x0)) → Yb(L(x0))
L(a(a(x0))) → D(a(b(a(x0))))
Ya(D(x0)) → D(a(x0))
Yb(D(x0)) → D(b(x0))
R(D(x0)) → B(x0)
remain.

1.1 Rule Removal

Using the linear polynomial interpretation over the arctic semiring over the integers
[a(x1)] = 0 · x1 + -∞
[E(x1)] = 0 · x1 + -∞
[V(x1)] = 0 · x1 + -∞
[W(x1)] = 0 · x1 + -∞
[Xa(x1)] = 0 · x1 + -∞
[R(x1)] = 0 · x1 + -∞
[B(x1)] = 0 · x1 + -∞
[Xb(x1)] = 7 · x1 + -∞
[Yb(x1)] = 0 · x1 + -∞
[Ya(x1)] = 0 · x1 + -∞
[L(x1)] = 0 · x1 + -∞
[D(x1)] = 0 · x1 + -∞
[b(x1)] = 0 · x1 + -∞
[M(x1)] = 0 · x1 + -∞
the rules
B(x0) → W(M(V(x0)))
M(V(a(x0))) → V(Xa(x0))
Xa(a(x0)) → a(Xa(x0))
Xa(b(x0)) → b(Xa(x0))
Xb(a(x0)) → a(Xb(x0))
Xb(b(x0)) → b(Xb(x0))
Xa(E(x0)) → a(E(x0))
W(V(x0)) → R(L(x0))
L(a(x0)) → Ya(L(x0))
L(b(x0)) → Yb(L(x0))
L(a(a(x0))) → D(a(b(a(x0))))
Ya(D(x0)) → D(a(x0))
Yb(D(x0)) → D(b(x0))
R(D(x0)) → B(x0)
remain.

1.1.1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
B(x0) → V(M(W(x0)))
a(V(M(x0))) → Xa(V(x0))
a(Xa(x0)) → Xa(a(x0))
b(Xa(x0)) → Xa(b(x0))
a(Xb(x0)) → Xb(a(x0))
b(Xb(x0)) → Xb(b(x0))
E(Xa(x0)) → E(a(x0))
V(W(x0)) → L(R(x0))
a(L(x0)) → L(Ya(x0))
b(L(x0)) → L(Yb(x0))
a(a(L(x0))) → a(b(a(D(x0))))
D(Ya(x0)) → a(D(x0))
D(Yb(x0)) → b(D(x0))
D(R(x0)) → B(x0)

1.1.1.1 Rule Removal

Using the linear polynomial interpretation over the naturals
[a(x1)] = 4 · x1 + 0
[E(x1)] = 1 · x1 + 12
[V(x1)] = 1 · x1 + 1
[W(x1)] = 1 · x1 + 0
[Xa(x1)] = 4 · x1 + 0
[R(x1)] = 1 · x1 + 1
[B(x1)] = 1 · x1 + 1
[Xb(x1)] = 6 · x1 + 1
[Yb(x1)] = 1 · x1 + 0
[Ya(x1)] = 4 · x1 + 0
[L(x1)] = 1 · x1 + 0
[D(x1)] = 1 · x1 + 0
[b(x1)] = 1 · x1 + 0
[M(x1)] = 1 · x1 + 0
the rules
B(x0) → V(M(W(x0)))
a(V(M(x0))) → Xa(V(x0))
a(Xa(x0)) → Xa(a(x0))
b(Xa(x0)) → Xa(b(x0))
b(Xb(x0)) → Xb(b(x0))
E(Xa(x0)) → E(a(x0))
V(W(x0)) → L(R(x0))
a(L(x0)) → L(Ya(x0))
b(L(x0)) → L(Yb(x0))
a(a(L(x0))) → a(b(a(D(x0))))
D(Ya(x0)) → a(D(x0))
D(Yb(x0)) → b(D(x0))
D(R(x0)) → B(x0)
remain.

1.1.1.1.1 Rule Removal

Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1 over the naturals
[a(x1)] =
1 0 0
1 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[E(x1)] =
1 0 0
0 0 1
0 1 0
· x1 +
0 0 0
0 0 0
0 0 0
[V(x1)] =
1 0 0
0 0 1
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[W(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
1 0 0
1 0 0
[Xa(x1)] =
1 0 0
1 0 0
0 0 1
· x1 +
0 0 0
0 0 0
0 0 0
[R(x1)] =
1 0 0
0 0 0
1 1 0
· x1 +
0 0 0
0 0 0
1 0 0
[B(x1)] =
1 0 0
1 1 0
0 0 0
· x1 +
0 0 0
1 0 0
0 0 0
[Xb(x1)] =
1 0 1
1 0 0
0 0 1
· x1 +
0 0 0
0 0 0
1 0 0
[Yb(x1)] =
1 0 0
0 0 0
0 1 1
· x1 +
0 0 0
0 0 0
0 0 0
[Ya(x1)] =
1 0 0
0 0 0
1 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[L(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[D(x1)] =
1 0 0
0 0 1
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[b(x1)] =
1 0 1
0 1 1
0 0 1
· x1 +
0 0 0
0 0 0
0 0 0
[M(x1)] =
1 0 0
1 1 1
1 0 0
· x1 +
0 0 0
0 0 0
1 0 0
the rules
B(x0) → V(M(W(x0)))
a(V(M(x0))) → Xa(V(x0))
a(Xa(x0)) → Xa(a(x0))
b(Xa(x0)) → Xa(b(x0))
E(Xa(x0)) → E(a(x0))
V(W(x0)) → L(R(x0))
a(L(x0)) → L(Ya(x0))
b(L(x0)) → L(Yb(x0))
a(a(L(x0))) → a(b(a(D(x0))))
D(Ya(x0)) → a(D(x0))
D(Yb(x0)) → b(D(x0))
D(R(x0)) → B(x0)
remain.

1.1.1.1.1.1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
B(x0) → W(M(V(x0)))
M(V(a(x0))) → V(Xa(x0))
Xa(a(x0)) → a(Xa(x0))
Xa(b(x0)) → b(Xa(x0))
Xa(E(x0)) → a(E(x0))
W(V(x0)) → R(L(x0))
L(a(x0)) → Ya(L(x0))
L(b(x0)) → Yb(L(x0))
L(a(a(x0))) → D(a(b(a(x0))))
Ya(D(x0)) → D(a(x0))
Yb(D(x0)) → D(b(x0))
R(D(x0)) → B(x0)

1.1.1.1.1.1.1 Rule Removal

Using the linear polynomial interpretation over (3 x 3)-matrices with strict dimension 1 over the naturals
[a(x1)] =
1 0 0
0 1 0
0 0 1
· x1 +
0 0 0
0 0 0
1 0 0
[E(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
1 0 0
0 0 0
[V(x1)] =
1 0 1
0 0 0
0 1 0
· x1 +
0 0 0
0 0 0
0 0 0
[W(x1)] =
1 0 0
1 0 0
1 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[Xa(x1)] =
1 0 0
0 0 0
0 1 1
· x1 +
0 0 0
1 0 0
0 0 0
[R(x1)] =
1 1 1
1 1 1
1 1 1
· x1 +
0 0 0
0 0 0
0 0 0
[B(x1)] =
1 1 1
1 1 1
1 1 1
· x1 +
0 0 0
0 0 0
0 0 0
[Yb(x1)] =
1 0 1
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[Ya(x1)] =
1 0 0
0 1 0
0 0 1
· x1 +
0 0 0
1 0 0
0 0 0
[L(x1)] =
1 0 0
0 0 1
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[D(x1)] =
1 0 0
0 0 1
0 1 0
· x1 +
0 0 0
0 0 0
0 0 0
[b(x1)] =
1 0 0
0 0 0
0 0 0
· x1 +
0 0 0
0 0 0
0 0 0
[M(x1)] =
1 0 1
0 0 0
0 0 0
· x1 +
0 0 0
1 0 0
1 0 0
the rules
B(x0) → W(M(V(x0)))
Xa(a(x0)) → a(Xa(x0))
Xa(b(x0)) → b(Xa(x0))
Xa(E(x0)) → a(E(x0))
W(V(x0)) → R(L(x0))
L(a(x0)) → Ya(L(x0))
L(b(x0)) → Yb(L(x0))
L(a(a(x0))) → D(a(b(a(x0))))
Ya(D(x0)) → D(a(x0))
Yb(D(x0)) → D(b(x0))
R(D(x0)) → B(x0)
remain.

1.1.1.1.1.1.1.1 Rule Removal

Using the linear polynomial interpretation over the arctic semiring over the integers
[a(x1)] = 0 · x1 + -∞
[E(x1)] = 0 · x1 + -∞
[V(x1)] = 5 · x1 + -∞
[W(x1)] = 0 · x1 + -∞
[Xa(x1)] = 13 · x1 + -∞
[R(x1)] = 3 · x1 + -∞
[B(x1)] = 5 · x1 + -∞
[Yb(x1)] = 0 · x1 + -∞
[Ya(x1)] = 0 · x1 + -∞
[L(x1)] = 2 · x1 + -∞
[D(x1)] = 2 · x1 + -∞
[b(x1)] = 0 · x1 + -∞
[M(x1)] = 0 · x1 + -∞
the rules
B(x0) → W(M(V(x0)))
Xa(a(x0)) → a(Xa(x0))
Xa(b(x0)) → b(Xa(x0))
W(V(x0)) → R(L(x0))
L(a(x0)) → Ya(L(x0))
L(b(x0)) → Yb(L(x0))
L(a(a(x0))) → D(a(b(a(x0))))
Ya(D(x0)) → D(a(x0))
Yb(D(x0)) → D(b(x0))
R(D(x0)) → B(x0)
remain.

1.1.1.1.1.1.1.1.1 String Reversal

Since only unary symbols occur, one can reverse all terms and obtains the TRS
B(x0) → V(M(W(x0)))
a(Xa(x0)) → Xa(a(x0))
b(Xa(x0)) → Xa(b(x0))
V(W(x0)) → L(R(x0))
a(L(x0)) → L(Ya(x0))
b(L(x0)) → L(Yb(x0))
a(a(L(x0))) → a(b(a(D(x0))))
D(Ya(x0)) → a(D(x0))
D(Yb(x0)) → b(D(x0))
D(R(x0)) → B(x0)

1.1.1.1.1.1.1.1.1.1 Bounds

The given TRS is match-bounded by 1. This is shown by the following automaton.