The Phase rule was derived by Gibbs and states that, for a system at equilibrium
F = C-P 2
Where,