Title: Theory of alloy phases