Hartree–Fock exchange energy of an inhomogeneous electron gas | Synapse