On a conjecture of Sophus Lie