Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The usual formal definition for the rational numbers is equivalence classes of pairs of integers. The zero is then the equivalence class of (0, 1) which is not the same as the integer 0.

You could certainly somehow get it to work by starting with the closure of the division operation but would introduce a lot of unnecessary headache along the way.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: