Nature of the Hartree-Fock energy gap