A relation of finite correspondences detected on a dense set
Assume that, for every ring map $R\to R'$, every sheaf of $R'$-modules and every integer degree, restriction of scalars induces a bijection on cohomology at every object where it is evaluated. Let $\ell$ be prime and $S\to B$, $Y\to B$ morphisms of schemes, with $Y\to B$ separated and locally of finite type. Assume that $\ell$ is invertible in $\Gamma(S,\mathcal O_S)$. Let $C_a=(Z_a,p_a,f_a,w_a)$ be finitely many weighted finite correspondences from $S$ to $Y$ over $B$, and let $m_a\in\mathbb Z$. Let $D\subseteq S$ be Zariski dense. Suppose for every algebraically closed $\Omega$, $x:\operatorname{Spec}\Omega\to S$ whose image belongs to $D$, and $y:\operatorname{Spec}\Omega\to Y$, $$\sum_a m_a\sum_{z:\ p_a z=x,\ f_a z=y}w_a(z)=0.$$ For every $n,i\in\mathbb Z$, the corresponding operators satisfy $$\sum_a m_a\,(p_a)_{*,w_a}\circ f_a^*=0:H^n_{\mathrm{et}}(Y,\mathbb Q_\ell(i))\longrightarrow H^n_{\mathrm{et}}(S,\mathbb Q_\ell(i)).$$
Here $p_a:Z_a\to S$ is finite, $f_a:Z_a\to Y$, and the two structure maps to $B$ agree. A weight assigns an integer to every geometric point of $Z_a$. For every base change $U\to S$ and every locally constant integer function on $Z_a\times_SU$, its weighted sum on each geometric fibre of the finite projection is required to be the value of a locally constant integer function on $U$. The weighted trace $(p_a)_{*,w_a}$ is defined by these fibre sums, first on torsion cohomology, then on the integral inverse-limit system and after inverting $\ell$.