Producer surplus and market equilibrium