Toric resolution of singularities (source code)

= Toric resolution of singularities

A toric resolution of singularities is obtained by subdividing a fan until every cone is generated by part of a lattice basis. The resulting smooth toric variety maps properly and birationally to the original one.