An integral multiple of an invariant operator
Let $p$ be prime, $W$ a $\mathbb Q_p$-vector space, and $I$ an index set. Let $E_{ab}\in\operatorname{End}_{\mathbb Q_p}(W)$ satisfy $$[E_{ab},E_{cd}]=\delta_{bc}E_{ad}-\delta_{da}E_{cb}.$$ Let $M\subseteq W$ be an additive subgroup stable under $\mathbb Z_p$ and under $E_{ab}^k/k!$ for all $a\ne b$ and $k\ge0$. For an integer $\ell\ge0$ and a list $L$ of distinct indices in $I$, define $A_\ell(L)$ as below. Put $L_p(0)=0$ and $L_p(n)=\lfloor\log_p n\rfloor$ for integers $n\ge1$. Then $$p^{\binom{|L|}{2}L_p(\max\{\ell+|L|-1,0\})}\,A_\ell(L)u\in M\qquad(u\in M).$$
For a finite set $S\subset I$ and $z\in I$, define $$\Omega_{S,z}(0)=1,\qquad \Omega_{S,z}(q+1)=\sum_{i\in S}E_{zi}\Omega_{S,z}(q)E_{iz},$$ $$P_{S,z,\ell}=\sum_{q=0}^{\ell}\frac{(-1)^q|S|!}{(q+|S|)!q!}\Omega_{S,z}(q).$$ Set $A_\ell(\varnothing)=1$ and $A_\ell(z::L)=P_{\{i:i\in L\},z,\ell}A_\ell(L)$. Stability under $\mathbb Z_p$ means stability under all scalars in $\mathbb Q_p$ of norm at most one; no topological closedness is assumed.