Every so often I hear people talking about "phase transitions" in purely mathematical or computer-science contexts, where there is no physics in sight. Today, for example, I heard some people talking about "phase transitions" when coloring edges in random graphs.
Is this just a simple reuse of the physics term, or is there a more general mathematical concept of a "phase change", of which physical phase changes are one instance? If so, what are some illustrative purely mathematical/nonphysical examples?
In Where the Really Hard Problems Are the concept of phase change in NP complete problems is discussed. It has the sense of a narrow boundary region from physics, but not entirely the sense of fixing things (like the temperature of a melting solution).