Multi-phase equilibrium of crystalline solids