I am reading about the first and second Noether's theorem from https://arxiv.org/abs/2112.05289. In the text, there is this piece, which I am not sure I entirely understand.
Let us reflect briefly on how this proof compares to that of Noether’s 1st theorem. In both proofs, one needs some sort of varying arbitrary function in order get the final result. In Noether’s 1st theorem, it was $\epsilon(x)$; in Noether’s 2nd theorem, it was $\lambda(x)$. The difference is that in Noether’s 1st theorem, the transformation that depended on $\epsilon(x)$ was not really a symmetry of the action (even though it reduced to one when $\epsilon = \text{const}$) and we only had $\delta S \approx 0$ on-shell, meaning our conservation equation only held on-shell. However, in Noether’s 2nd theorem, we had a gauge symmetry transformation which left $\delta S = 0$ off-shell and already depended on an arbitrary function $\lambda(x)$ without the need of $\epsilon(x)$. Because $\delta S = 0$ off-shell, we could find an equation which held off-shell.
I know this sounds a bit basic, but is there a deeper reason as to why the action varies by a total derivative term? In my understanding, if one Taylor expands the Lagrangian in terms of the infinitesimal transformation, then this is what one would find (up to equations of motion).
The author speaks for $\epsilon(x)$ as if it is not a symmetry of the action. However, the action with $\epsilon(x)$ yields the same classical equations of motion as if the action for $\epsilon=\text{const}$. Therefore, the two parameters are both symmetries of the action, no? Isn't it always that a symmetry of an action leaves the classical equations of motion invariant under the symmetry transformation under consideration?
At some point in the text (p.12-13), the author states, after having used the equations of motion, that the current $J_{\lambda}^{\mu}$ can be written as the divergence of an antisymmetric tensor $K^{\mu\nu}$, i.e. $$J_{\lambda}^{\mu}=\partial_{\nu} K^{\mu\nu},\ K^{\mu\nu}=-\lambda F^{\mu\nu}$$ and then he states that because of $K^{\mu\nu}$ being an antisymmetric tensor, the conservation of $J^{\mu}_{\lambda}$ follows from the trivial equation $\partial_{\mu}\partial_{\nu}K^{\mu\nu}=0$, which holds both on- and off-shell. My last question is this: how can $J^{\mu}_{\lambda}$ be conserved trivially (i.e. on- and off- shell) if the equations of motion have been used to write it in terms of the antisymmetric tensor $K^{\mu\nu}$?