The direct image with compact support function associated to $R$ is the function
\[ R_{!}\colon \mathcal{P}\webleft (A\webright )\to \mathcal{P}\webleft (B\webright ) \]
\begin{align*} R_{!}\webleft (U\webright ) & \mathrel {\smash {\overset {\mathclap {\scriptscriptstyle \text{def}}}=}}\webleft\{ b\in B\ \middle |\ \begin{aligned} & \text{for each $a\in A$, if we have}\\ & \text{$b\in R\webleft (a\webright )$, then $a\in U$}\end{aligned} \webright\} \\ & = \webleft\{ b\in B\ \middle |\ R^{-1}\webleft (b\webright )\subset U\webright\} \end{align*}
for each $U\in \mathcal{P}\webleft (A\webright )$.