2 versions of the statement of Polynomial relations on a Galois image vanish on its weight cocharacter, 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 2 , changes from version 1 are marked
Let $\ell$ be prime, fix the source's compatible local period and $A_{\mathrm{inf}}$ data,data of "De Rham subrepresentations and strict quotient maps", and denote their cyclotomic character by $\chi_{\mathrm{cyc}}:G_{\mathbb Q_\ell}\to\mathbb Q_\ell^\times$. Let $K,L,K'\subseteq\overline{\mathbb Q}_\ell$ be finite extensions of $\mathbb Q_\ell$, with $K,L\subseteq K'$, and let
$$r:G_K\to\operatorname{GL}_m(L),\quad P\in\operatorname{GL}_m(\mathbb C_\ell),\quad k_1,\ldots,k_m\in\mathbb Z.$$
Suppose for every $g\in G_{K'}$,
$$r(g)\,g(P)=P\operatorname{diag}(\chi_{\mathrm{cyc}}(g)^{-k_1},\ldots,\chi_{\mathrm{cyc}}(g)^{-k_m}),$$
where $G_K$ acts on $\mathbb C_\ell$ and on matrix entries. If a polynomial $f\in\mathbb C_\ell[X_{ab}:1\le a,b\le m]$ vanishes on $r(G_{K'})$, then
$$f\!\left(P\operatorname{diag}(t^{k_1},\ldots,t^{k_m})P^{-1}\right)=0\qquad(t\in\mathbb C_\ell^\times).$$
Version 1 , first version
Let $\ell$ be prime, fix the source's compatible local period and $A_{\mathrm{inf}}$ data, and denote their cyclotomic character by $\chi_{\mathrm{cyc}}:G_{\mathbb Q_\ell}\to\mathbb Q_\ell^\times$. Let $K,L,K'\subseteq\overline{\mathbb Q}_\ell$ be finite extensions of $\mathbb Q_\ell$, with $K,L\subseteq K'$, and let
$$r:G_K\to\operatorname{GL}_m(L),\quad P\in\operatorname{GL}_m(\mathbb C_\ell),\quad k_1,\ldots,k_m\in\mathbb Z.$$
Suppose for every $g\in G_{K'}$,
$$r(g)\,g(P)=P\operatorname{diag}(\chi_{\mathrm{cyc}}(g)^{-k_1},\ldots,\chi_{\mathrm{cyc}}(g)^{-k_m}),$$
where $G_K$ acts on $\mathbb C_\ell$ and on matrix entries. If a polynomial $f\in\mathbb C_\ell[X_{ab}:1\le a,b\le m]$ vanishes on $r(G_{K'})$, then
$$f\!\left(P\operatorname{diag}(t^{k_1},\ldots,t^{k_m})P^{-1}\right)=0\qquad(t\in\mathbb C_\ell^\times).$$