Self-consistent molecular orbital methods. XVIII. Constraints and stability in Hartree–Fock theory | Synapse