1 version of the statement of The bicommutant of colored permutation matrices, newest first, as written in TeX. Only the paragraphs that changed are shown; words added since the version before are marked like this and words removed like this. Times are those of the commits, in your local time.
Version 1 , first version
Let $W$ be a finite set and $m,q\ge0$. Put $J=(W\times\{1,\ldots,m\})^{\{1,\ldots,q\}}$. For $\sigma\in S_q$ and $w\in W^{\{1,\ldots,q\}}$, define a matrix $P_{\sigma,w}\in M_J(\mathbb C)$ by
$$(P_{\sigma,w})_{I,J'}=\begin{cases}1,&\text{the first coordinate of }I(i)\text{ is }w(i)\text{ for every }i,\ J'=I\circ\sigma,\\0,&\text{otherwise}.\end{cases}$$
If $T\in M_J(\mathbb C)$ commutes with every matrix $Z$ that commutes with every $P_{\sigma,w}$, then
$$T\in\operatorname{span}_{\mathbb C}\{P_{\sigma,w}:\sigma\in S_q,\ w\in W^{\{1,\ldots,q\}}\}.$$