In reference to our earlier work [1], Pierre McKenzie and Sambuddha Roy pointed out that the proofs of statements (b) and (c) in Theorem 7.3 are buggy. The main flaw is that the identity e of the group F may not be the identity of the monoid, and so the claim that \(w\in (A_{F,r})^{*}\Longleftrightarrow w \not\in\mbox{Test}\) does not work.

Herewith, we show:

  • With a slight change to Definition 7.1, the statement of Theorem 7.3 holds unchanged. In our opinion, this is the most interesting way to correct the error in the original paper. We present a complete proof below. For completeness, we also mention another way to correct the error:

  • Leaving Definition 7.1 unchanged, a weaker version of Theorem 7.3 holds (with only minor adjustments to the proof given in the paper).

First, we present the modified version of Theorem 7.3 that holds using the original version of Definition 7.1

FormalPara Theorem 7.3

(Variant)

  1. (a)

    Let A be any finite nonsolvable monoid. Then there exists a group FA and a constant r>0 such that the (A F,r ) closure problem is \(\mbox {$\mathrm {NC}^{1}$}\)-complete.

  2. (b)

    Let A be any finite monoid, and let F be a group contained in A, with the same identity e as the monoid identity. Then the (A F,r ) closure problem is reducible via AC0-Turing reductions to the word problem over the finite monoid A.

  3. (c)

    If A is a finite solvable monoid and F is a group in it with the same identity as A, then the (A F,r ) closure problem is in \(\mbox {$\mathrm {ACC}^{0}$}\). Furthermore, if A is an aperiodic monoid then the (A F,r ) closure problem is in \(\mbox {$\mathrm {AC}^{0}$}\).

We now proceed to give a modification to Definition 7.1, with the property that both Corollary 7.2 and Theorem 7.3 are true, as stated in the original paper.

FormalPara Definition 7.4

(Modified from Definition 7.1 in the paper)

Let A be a finite monoid. There is a natural homomorphism v:A A that maps a word w to its valuation v(w) in the monoid A. Let F be a group contained in A, let e denote the identity of F, and let r be a positive integer. The language A F,r A is defined as A F,r ={wA ∣|w|≤r,v(ew)∈F}.

The original definition required that v(w) be a group element; instead, we now require v(ew) to be a group element.

The (A F,r ) closure problem is the decision problem (A F,r ). Since A F,r is finite, (A F,r ) is a regular language, and thus the (A F,r ) closure problem is always in \(\mbox {$\mathrm {NC}^{1}$}\).

With the revised definition, Corollary 7.2 still holds (with the same proof), because the monoid A=S 5 is itself a group, and F is a subgroup.

We now state and prove Theorem 7.3 (using the revised definition of A F,r ).

FormalPara Theorem 7.3
  1. (a)

    Let A be any nonsolvable monoid. Then there exists a group FA and a constant r>0 such that the (A F,r ) closure problem is \(\mbox {$\mathrm {NC}^{1}$}\)-complete.

  2. (b)

    The (A F,r ) closure problem is reducible via AC0-Turing reductions to the word problem over the finite monoid A.

  3. (c)

    If A is a solvable monoid then the (A F,r ) closure problem is in \(\mbox {$\mathrm {ACC}^{0}$}\). Furthermore, if A is an aperiodic monoid then the (A F,r ) closure problem is in \(\mbox {$\mathrm {AC}^{0}$}\).

FormalPara Proof

(a) Since A is a nonsolvable monoid, A contains a nontrivial nonsolvable group G with identity e.Footnote 1 Since the word problem over G is \(\mbox {$\mathrm {NC}^{1}$}\)-complete [2], it suffices to show an \(\mbox {$\mathrm {AC}^{0}$}\) reduction from the word problem over G to an appropriate \(A_{F,r}^{*}\) closure problem. To be precise, the word problem we consider is

$$W:=\{w\in G^*\mid v(w)=e\} $$

Let G={g 1,g 2,…,g m }. Consider the word \(u=\prod_{1\leq i\leq m}g_{i}^{-1}g_{i}\) in A . Let w=w 1 w 2w n be an instance of W. We map the instance w to the word z=(∏1≤in−1 w i u)w n . Notice that v(z)=v(w). Furthermore, it is not hard to see that by virtue of inserting the word u between w i and w i+1 for 1≤in−1 we have ensured that the word z can be decomposed into z=α 1 α 2α n , where for 1≤in−1 we have |α i |<4m, w i is included in α i , and v(α i )=e. Since v(z)=v(w), it follows that wW iff z can be decomposed as α 1 α 2α n , where each α i is of length at most 4m−1 and v(α i )=e for all i. Clearly, v( i )=v(e)v(α i )=e as well.

FormalPara Note

The last sentence above is the only new thing in the proof of part (a).

Letting F={e} and r=4m−1 the above argument shows that wz is an \(\mbox {$\mathrm {AC}^{0}$}\) reduction from the \(\mbox {$\mathrm {NC}^{1}$}\)-complete word problem W to the (A F,r ) closure problem.

(b) We devise a test that characterizes membership in (A F,r ), using the following claim.

FormalPara Claim 7.4

Let x,y be words in A , and suppose v(ex)∈F. Then

$$v(ey) \in F \quad \Longleftrightarrow\quad v(exy)\in F $$
FormalPara Proof
(⇐:):
(⇒:):

 □

For any w=w 1 w 2w n with each w i A, and for 0≤i<jn, let w[i,j] denote the subword w i+1w j . We construct a circuit for (A F,r ) that uses oracle gates for the following word problem W over the monoid A:

$$W:=\{w\in A^*\mid v(ew)\in F\} $$

The circuit will have an oracle gate for w[0,j] for each 1≤jn. Let the output of the oracle gate be the bit b j ; thus

$$\mbox{~For~} 1 \le j \le n,\quad b_j = \begin{cases} 1 & \mbox{if $v(ew[0,j]) \in F$}\\ 0 & \mbox{otherwise} \end{cases} $$

We set b 0=1. Now we place circuitry to check that

  1. (a)

    b n =1, and

  2. (b)

    the string b=b 0 b 1b n does not have r consecutive zeroes.

It is clear that these checks can be performed in AC0. To see why these checks characterize membership in (A F,r ), note that:

If w∈(A F,r ), then we can decompose w into short strings w=x 1 x 2x m such that each x i has length at most r and each v(ex i ) is in F. By the claim above, v(ey)∈F for each prefix y of the form x 1 x 2x j . Thus at each such position, the string b will have a 1, and these positions are at most r positions apart.

If the 1s in b are never separated by r or more zeroes, then there is a sequence 0=l 0<l 1<l 2<⋯<l m =n such that for each j, l j l j−1r, and v(ew[0,l j ])∈F. By the above claim, each v(ew[l j−1,l j ]) is also in F. This gives the required decomposition witnessing w∈(A F,r ).

This completes the proof of part (b).

(c) This is an immediate consequence of part (b) and the results of [2, 3]. □