Definition (axiom of replacement)

For each $ϕ\in{}$$\mathrm{Fml}^\in$ with $\op{free}(ϕ) = \set{v_0, \ldots, v_{n-1}, v, w}$, write $ϕ \tfrac{x}{v} \tfrac{y}{w}$ for the formula where we replace all $v$ and $w$ in $ϕ$ with $x$ and $y$ respectively. Define $$ \begin{align*} \mathsf{Repl}_ϕ :={} \quad &\forall v_0 \ldots \forall v_{n-1}\ \forall x \forall y \forall y' (ϕ \tfrac{x}{v} \tfrac{y}{w} \wedge ϕ \tfrac{x}{v} \tfrac{y'}{w} \Rightarrow y = y') \\ \Rightarrow{}& \forall v_0 \ldots \forall v_{n-1}\ \forall d \exists r \ \forall y(y\in r \Leftrightarrow \exists x(x\in d \wedge \phi \tfrac{x}{v} \tfrac{y}{w})). \end{align*} $$ $ϕ$ is said to be functional if the premise holds.

The collection of all $\mathsf{Repl}_ϕ$ is $\mathsf{Repl}$, the axiom schema of replacement.