I'm having a probably dumb problem with the Euler-Lagrange equations and the dot-product in Minkowski spacetime. I know that some objects are defined naturally with lower-indexes, e.g. $\partial_{\mu}$ which in components reads $\partial_{\mu}=(\partial_0,\partial_1,\partial_2,\partial_3)$, so that $\partial^{\mu}=\left(\begin{array}{c} \partial_0\\ -\partial_1\\ -\partial_2\\ -\partial_3\end{array}\right)$ if $sgn(\eta)=(+,-,-,-)$. On the other hand, there are objects that are naturally defined as 4-vectors with upper-indexes, e.g. $x^{\mu}$ such that $x^{\mu}=\left(\begin{array}{c} x^0\\ x^1\\ x^2\\ x^3\end{array}\right)$ and then $x_{\mu} = (x^0,-x^1,-x^2,-x^3)$. Then, of course we will have that $\partial_{\mu}x^{\mu} = 4$ and not $\partial_{\mu}x^{\mu} = 1-3$. My problem comes now with the Euler-Lagrange equations $\frac{\partial\mathcal{L}}{\partial\varphi}-\partial_{\mu}\left(\frac{\partial\mathcal{L}}{\partial(\partial_{\mu}\varphi)}\right)=0$. I would say without thinking that:
$\partial_{\mu}\left(\frac{\partial\mathcal{L}}{\partial(\partial_{\mu}\varphi)}\right) = \partial_0\left(\frac{\partial\mathcal{L}}{\partial(\partial_{0}\varphi)}\right)-\partial_i\left(\frac{\partial\mathcal{L}}{\partial(\partial_i\varphi)}\right)$
But that doesn't seem to be the case. See for example in page 32 in the following link
https://people.phys.ethz.ch/~babis/Teaching/QFT1/qft1.pdf
or the following link:
https://physicspages.com/pdf/Lancaster%20QFT/Lancaster%20Problems%2012.05.pdf
where both authors try to derive the Schrödinger equation from the Lagrangian. If you put the minus sign in the tensor contraction as I did, it is impossible to reach Schrödinger's equation. It looks like the correct calculation would be:
$\partial_{\mu}\left(\frac{\partial\mathcal{L}}{\partial(\partial_{\mu}\varphi)}\right) = \partial_0\left(\frac{\partial\mathcal{L}}{\partial(\partial_{0}\varphi)}\right)+\partial_i\left(\frac{\partial\mathcal{L}}{\partial(\partial_i\varphi)}\right)$
Does anyone know why this is so?