Note that the "all-electron" wavefunction is a Kohn–Sham single particle wavefunction, and should not be confused with the many-body wavefunction. In order to have | Ψ Ψ ~ ~ ⟩ ⟩ and | Ψ Ψ ⟩ ⟩ differ only in the regions near the ion cores, we write