Mathematical singularities