On this website : https://spinningup.openai.com/en/latest/spinningup/rl_intro3.html#baselines-in-policy-gradientsthe OpenAI's Spinning Up , they justify the fact that adding a baseline b(s(t))$b(s_t)$ in the policy gradient doesn't change its gradient by saying that this is "an immediate consequence of the EGLP Lemma".
an immediate consequence of the EGLP Lemma
However, I did not manage to prove it with this Lemma, canlemma. Can somebody help me, please?
The proof is trivial when b$b$ is a constant, but I struggle to derive it whenever b$b$ is a fonctionfunction of the current state s$s$ because you can't take it out of the integral.