I saw that derivation in which they start with the Schrodinger equation propagator and introduce a resolution of identity between each term. And boom ! The lagrangian showed up in the phase. But....why?
I'd simply have accepted it as "It is what it is" if the Lagrangian wasn't an important quantity coming from a completely different formulation of classical mechanics.
As it stands, the Lagrangian now has two relationships with the Hamiltonian. One being the Legendre transform. The other being the Lagrangian happening to show up in the path integral. So again...why does the Lagrangian happen to show up in the path integral?
EDIT To be more precise, is there a derivation of the path integral which uses a generic Hamiltonian $H(X,P)$ for the propagator and shows that the Legendre transform of $H$ must show up in the phase?
Or is it just an accident that it happens to be so for the Hamiltonian $\frac{P^2}{2m}+V(x)$?