A Neural Net from the Foundations