Separating matrix entries by character values
Let $K$ be an ultrametric normed field, $I,T,X$ sets, $\tau:I\to T$, $p:T\to T$, $B=(B_{ij})\in K^{I\times I}$, $\theta\in K^\times$, and $\chi,\chi':X\times T\to K$. Suppose $$|B_{ij}|\le1,\qquad |(\chi(x,\tau(i))-\chi'(x,\tau(j)))B_{ij}|\le|\theta|$$ for every $x,i,j$. Assume that whenever $\rho\ne p(\alpha)$, there is $x\in X$ with $|\chi(x,\alpha)-\chi'(x,\rho)|=1$. There is $Q\in K^{I\times I}$ with $|Q_{ij}|\le1$ and $$B_{ij}=\begin{cases}B_{ij}&\tau(j)=p(\tau(i)),\\0&\tau(j)\ne p(\tau(i))\end{cases}+\theta Q_{ij}.$$