Riemann-Kempf singularity theorem