Frege, Dedekind, and Peano on the Foundations of