Mathematics and wave mechanics