This is a rough sketch of a proof giving an affirmative answer to a question posed by Carl-Fredrik Nyberg-Brodda1.

QUOTE

Question 24. Does ΠN\Pi_N admit a finite complete rewriting system for all N2?N \geq 2?

Proof

Let M=a,bbaa(ba)n=aM = \langle a,b \mid baa(ba)^n=a \rangle where n2.n \geq 2.

Define the string rewriting system RR by the rules

baa(ba)nabaa(ba)kaaa(ba)n(nk),0k<n.\begin{align*} baa(ba)^n &\longrightarrow a & \\ baa(ba)^ka &\longrightarrow aa(ba)^{n(n-k)}, & 0 \leq k \lt n. \end{align*}

Let PP be the map sending a word w{a,b}w \in \{a,b\}^* to the vector (p1,p2,,pk)(p_1, p_2, \ldots, p_k) where each pip_i is the index of the earliest occurrence of aaaa in ww after the previous index (or the beginning of ww, if i=1i = 1). Note that we count aaaaaa as having two occurrences of aa.aa.

Let \ell be the map w(P(w),P(w)).w \mapsto (\left|P(w)\right|, P(w)).

Observe that both rules, dependig on the surrounding context, either decrease the number of the occurrences of aaaa, or preserve the number of occurrences but trade a later ocurrence for an earlier one, decreasing P(w)P(w) lexicographically. Thus, each rewrite reduces (w)\ell(w) and hence RR is terminating.

We will now prove that each rule holds in M.M.

Suppose k=n1.k = n - 1. In that case

baa(ba)n1a=baa(ba)n1baa(ba)n=baa(ba)na(ba)n=aa(ba)n.\begin{align*} baa(ba)^{n - 1}a &= baa(ba)^{n - 1}baa(ba)^{n} \\ &= baa(ba)^{n}a(ba)^{n} \\ &= aa(ba)^n. \end{align*}

Now, suppose 2mn2 \leq m \leq n and

baa(ba)nm+1a=aa(ba)n(m1).baa(ba)^{n - m + 1}a = aa(ba)^{n(m - 1)}.

Then

baa(ba)nma=baa(ba)nmbaa(ba)n=baa(ba)nm+1a(ba)n=aa(ba)n(m1)(ba)n=aa(ba)nm.\begin{align*} baa(ba)^{n - m}a &= baa(ba)^{n - m}baa(ba)^{n} \\ &= baa(ba)^{n - m + 1}a(ba)^{n} \\ &= aa(ba)^{n(m - 1)}(ba)^n \\ &= aa(ba)^{nm}. \end{align*}

Thus, all rules of RR are valid in M.M.

We will now consider overlaps between the rules of R.R. Let Ak=baa(ba)kaA_k = baa(ba)^ka and let B=baa(ba)n.B = baa(ba)^n.

First, consider the case where a suffix of AkA_k is a prefix of BB. This overlap has the shape

aa(ba)n(nk)(ba)nbaa(ba)k1baa(ba)nbaa(ba)k1a,aa(ba)^{n(n-k)}(ba)^n \longleftarrow baa(ba)^{k-1}baa(ba)^n \longrightarrow baa(ba)^{k-1}a,

and is joined by

baa(ba)k1aaa(ba)n(nk+1).baa(ba)^{k - 1}a \longrightarrow aa(ba)^{n(n-k+1)}.

Now, consider

aa(ba)kabaa(ba)n1baa(ba)kabaa(ba)n1aa(ba)n(nk).aa(ba)^ka \longleftarrow baa(ba)^{n-1}baa(ba)^ka \longrightarrow baa(ba)^{n-1}aa(ba)^{n(n-k)}.

Fisrt, we apply

baa(ba)n1aaa(ba)nbaa(ba)^{n-1}a \longrightarrow aa(ba)^{n}

which allows for the two sides to join as follows.

aa(ba)na(ba)n(nk)aa(ba)n1baa(ba)n(ba)n(nk1)aa(ba)n1a(ba)n(nk1)aa(ba)n2baa(ba)n(ba)n(nk2)aa(ba)n2a(ba)n(nk2)aa(ba)n(nk1)a(ba)n(nk(nk1))aa(ba)k+1a(ba)naa(ba)kbaa(ba)naa(ba)ka\begin{align*} aa(ba)^{n}a(ba)^{n(n-k)} &\longrightarrow aa(ba)^{n-1}baa(ba)^n(ba)^{n(n-k - 1)}\\ &\longrightarrow aa(ba)^{n-1}a(ba)^{n(n-k - 1)} \\ &\longrightarrow aa(ba)^{n-2}baa(ba)^n(ba)^{n(n-k - 2)} \\ &\longrightarrow aa(ba)^{n-2}a(ba)^{n(n-k - 2)} \\ &\longrightarrow \cdots \\ &\longrightarrow aa(ba)^{n - (n - k - 1)}a(ba)^{n(n-k-(n - k - 1))} \\ &\longrightarrow aa(ba)^{k + 1}a(ba)^{n} \\ &\longrightarrow aa(ba)^{k}baa(ba)^{n} \\ &\longrightarrow aa(ba)^{k}a \\ \end{align*}

Thus, all overlaps between AkA_k and BB join.

Now consider the self-overlap of B,B,

aa(ba)nbaa(ba)n1baa(ba)nbaa(ba)n1a.aa(ba)^n \longleftarrow baa(ba)^{n-1}baa(ba)^n \longrightarrow baa(ba)^{n-1}a.

The rule baa(ba)n1aaa(ba)nbaa(ba)^{n-1}a \longrightarrow aa(ba)^n joins this overlap.

Finally, consider the overlap between ApA_p and Aq,A_q,

aa(ba)n(np)+qabaa(ba)p1baa(ba)qabaa(ba)p1aa(ba)n(nq).aa(ba)^{n(n-p)+q}a \longleftarrow baa(ba)^{p-1}baa(ba)^qa \longrightarrow baa(ba)^{p-1}aa(ba)^{n(n-q)}.

Observe that

baa(ba)p1aa(ba)n(nq)aa(ba)n(np+1)a(ba)n(nq),baa(ba)^{p-1}aa(ba)^{n(n-q)} \longrightarrow aa(ba)^{n(n-p+1)} a(ba)^{n(n-q)},

making the two sides joinable by the same reasoning as earlier.

Thus, we conclude that RR is locally confluent. Since it is terminating, Newman’s lemma upgrades this to confluence. Hence, we can conclude that every monoid presented as

a,bbaa(ba)n=a\langle a,b \mid baa(ba)^n=a \rangle

for n2n \geq 2 has a finite complete rewriting system.

\blacksquare

Footnotes

  1. Carl-Fredrik Nyberg-Brodda. On the Dehn functions of a class of monadic one-relation monoids. Comptes Rendus. Mathématique, Volume 362 (2024), pp. 713-730. doi: 10.5802/crmath.554