Legendre transformation
the total Legendre transformation and the identity, respectively.