Singularities of curves, local rings Curves mathematics