Zadunaisky device
Suppose the ODE $\v y'(t) = \v f(t, \v y)$ is solved by an arbitrary numerical method of order $p$, and we have stored some past values $\v y_n, \v y_{n-1}, \ldots, \v y_{n-p}$.
Let $\v q\in \mathcal{P}_p$ be a polynomial that interpolates $\v q(t_i) = \v y_i$ for $i=n,\ldots,n-p$. Then $\v q(t) - \v y(t) = O(h^{p+1})$. Note $\v q$ solves a new ODE $$ \begin{align*} \v z' = \v f(t,\v z) + \underbrace{\v q' - \v f(t, \v q)}_{\text{small}}, \tag{*} \end{align*} $$ which slightly differs from our original ODE by a term $\v q' - \v y'$ which we expect to be small.
Now apply the same method to produce $\v z_{n+1}$. The Zadunaisky device estimates the local truncation error of $\v y_{n+1}$ as $$ \begin{align*} \v y(t_{n+1}) - \v y_{n+1} \approx \v q(t_{n+1}) - \v z_{n+1}. \end{align*} $$