I am not refering to Legendre transform, but to something more simple.
In analytical mechanics, the Lagrangian can be described as $L=T-V$, and the Hamiltonian is if the Lagrangian doesn't explicitly depend on time, then $H=T+V$.
There a simple change of functions which I am contemplating here, basically if I write:
$U=i \sqrt{V}$, the the Lagrangian becomes: $L=T+U^2$, and the Hamiltonian becomes $H=T-U^2$.
I know it looks like meaningless, but also going from Minkowskian metric from Euclidean metric and vice versa doesn't seem like such a big deal to me, but physicist use it.
So is this change of variables between Lagrangian and Hamiltonian being used in theoretical physics?
Does it have any meaningful applications?