Dynkin's formula (from Wikipedia): for an Ito diffusion $X_t$ having infinitesimal generator $A$, $$ \mathbb{E}^x[f(X_\tau)] = f(x) + \mathbb{E}^x\left[\int_0^\tau Af(X_s)ds\right].$$
Here, $f$ is a continuous, real-valued function on the state space of $X_t$, and $\mathbb{E}^x[ \cdot ] = \mathbb{E}[\cdot | X_0=x]$ is the expectation given the initial condition $x$.
I came across a different version in a paper. It said that $$ \langle \alpha(t),\phi \rangle = \langle \alpha(0), \phi\rangle + \int_0^t Af(X_s)ds + M^N_t(\phi)$$ where $\alpha(t)$ is the empirical measure of $X_t$ (well actually it's a "macroscopically scaled" empirical measure, not sure if this would make a difference) and $\phi$ is a test function so that $\langle \alpha(t),\phi \rangle$ is the integral of $\phi$ with respect to the measure $\alpha(t)$. So I think this is sort of a weak form of the above.
Furthermore $M^N_t(\phi)$ is a martingale with quadratic variation satisfying $$ \frac{d}{dt}\langle M^N(\phi)\rangle_t = \Gamma(X_t,\phi).$$
Here $\Gamma$ is the carre du champ operator associated with $X_t$.
I don't know how this form of Dynkin's formula came across - it seems like the authors didn't take expectations but instead "compensated" with the martingale term. I also don't understand why $M^N(t)$ should satisfy that differential equation with the CDC operator.