Found in 2 comments on Hacker News
red_trumpet · 2021-09-07 · Original thread
The book Numbers [1] by Ebbinghaus et. al. is a comprehensive treatment, starting from natural numbers up to complex numbers (and quaternions iirc). It also has lots of historic context, how our number systems evolved.


I recommend the Numbers Book ( ):

I just did a construction of the integers assuming either sets or arrays. I could equally have used your list definition. and

I've very tempted to combine your work with this and then go on to define rationals and then the reals. The reals would be very interesting since it would be a sequence that takes an epsilon and gets a rational number that is close enough. It's kind of crazy to think that all these real numbers are infinite cauchy sequences.

If I define a real as function(eps) { return some_rational; } then I could define it piece_wise and say function mult_real(a,b) { return function(eps) { return a(eps/2) * b(eps/2); } }

Fresh book recommendations delivered straight to your inbox every Thursday.