The Lévy transformations of semi-Hamiltonian systems