Re:Division by zero in type theory: a FAQ
by dependenttypes on Tuesday July 07, 2020 @02:08AM
(#23756203)
What you are saying might make sense in regular programming languages like go/rust/etc but it does not make sense in type theory. Rather the reason that n / 0 = 0 makes sense in type theory is that you can simply define types such as
as in you do not need to make your laws hold true for every possible input of / which is why it does not break regular mathematics.
[ Parent
| on HN ]
There are no comments on this comment yet.