News for hackers. Stuff that matters.
Re:Division by zero in type theory: a FAQ by ogogmad on Monday July 06, 2020 @05:09PM (#23752787)
Making the domain of f(x)=1/x be the non-zero real numbers allows f to be continuous. If f(0)=0 then continuity is lost.

Alternatively, defining f(0) to be infinity (a projectively extended real number) also allows f to be continuous.

Another possibility is to define f(0) to be some kind of "bottom" value. See the following tweets by Andrej Bauer: https://twitter.com/andrejbauer/status/1268860981943439361

Continuity is important because without it we lose computability. Every computable function is continuous (in an appropriate sense).

There are no comments on this comment yet.