A great explanation of degenerate matter. I have a question that you are likely able to answer. In a neutron degenerate state (higher sol M stars), the protons and electrons are combined to form more neutrons which are reduced in to the degenerative state. But, what happens to the excess of electrons provided by the metal ions (everything other than hydrogen and helium) present in the star ? Does a neutron star have an electron degeneracy shell around the neutron degenerate core from the excess of electrons after combination ?