The double Lagrangian its applications with U(1, J) symmetry and to the cosmology