3 versions of the statement of Perfect pairings between finite localization kernels, 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 3 , changes from version 2 are marked
1 unchanged paragraph
Put $R=\mathbb Z/\ell^r\mathbb Z$, and let $G_{K,S}$ be the Galois group of the maximal extension unramified outside $S$. Choose $\mu:G_{K,S}\to R^\times$ whose pullback to $G_K$ is the cyclotomic character modulo $\ell^r$. Let $M$ be a finite discrete $R$-module with continuous $G_{K,S}$-action. Define $M^\vee(1)=\operatorname{Hom}_R(M,R)$For the twisted dual $M'$ and localization kernels, use the definitions in "Normalized Poitou–Tate duality for finite Galois modules", with action $(g\varphi)(m)=\mu(g)\varphi(g^{-1}m)$,$F=K$ and put
$$\Sha^i_S(M)=\ker\!\left(H^i(G_{K,S},M)\longrightarrow\prod_{v\in S}H^i(K_v,M)\right),$$
using the decomposition groups determined by the chosen valuations.$\Omega=\overline{\mathbb Q}$. There are perfect $R$-bilinear pairings
$$\Sha^2_S(M)\times\Sha^1_S(M^\vee(1))\longrightarrow$$\operatorname{Sha}^2_S(M)\times\operatorname{Sha}^1_S(M')\longrightarrow R,$$
$$\Sha^2_S(M^\vee(1))\times\Sha^1_S(M)\longrightarrow$$\operatorname{Sha}^2_S(M')\times\operatorname{Sha}^1_S(M)\longrightarrow R.$$
All four groups are finite; perfect means that either argument identifies its group with the $R$-linear dual of the other.
Version 2 , changes from version 1 are marked
Let $K\subset\overline{\mathbb Q}$ be a number field with the chosen algebraic closure, let $\ell$ be prime, and let $r\ge1$. Assume $\ell\ne2$ or $K$ is totally complex. Fix a primitive $\ell^r$-th root of unity and the source'sa family of local invariant maps,maps as in "A normalized local second-cohomology isomorphism", each bijective at every finite place and normalized by that root. Let $S$ be a finite set of finite places containing every place over $\ell$, and choose a valuation ring of $\overline{\mathbb Q}$ above each place of $S$.
1 unchanged paragraph
Version 1 , first version
Let $K\subset\overline{\mathbb Q}$ be a number field with the chosen algebraic closure, let $\ell$ be prime, and let $r\ge1$. Assume $\ell\ne2$ or $K$ is totally complex. Fix a primitive $\ell^r$-th root of unity and the source's family of local invariant maps, each bijective at every finite place and normalized by that root. Let $S$ be a finite set of finite places containing every place over $\ell$, and choose a valuation ring of $\overline{\mathbb Q}$ above each place of $S$.
Put $R=\mathbb Z/\ell^r\mathbb Z$, and let $G_{K,S}$ be the Galois group of the maximal extension unramified outside $S$. Choose $\mu:G_{K,S}\to R^\times$ whose pullback to $G_K$ is the cyclotomic character modulo $\ell^r$. Let $M$ be a finite discrete $R$-module with continuous $G_{K,S}$-action. Define $M^\vee(1)=\operatorname{Hom}_R(M,R)$ with action $(g\varphi)(m)=\mu(g)\varphi(g^{-1}m)$, and put
$$\Sha^i_S(M)=\ker\!\left(H^i(G_{K,S},M)\longrightarrow\prod_{v\in S}H^i(K_v,M)\right),$$
using the decomposition groups determined by the chosen valuations. There are perfect $R$-bilinear pairings
$$\Sha^2_S(M)\times\Sha^1_S(M^\vee(1))\longrightarrow R,$$
$$\Sha^2_S(M^\vee(1))\times\Sha^1_S(M)\longrightarrow R.$$
All four groups are finite; perfect means that either argument identifies its group with the $R$-linear dual of the other.