Mechanism of the rhodium-catalyzed asymmetric isomerization of allylamines to enamines.