logoalt Hacker News

bjt12345today at 1:42 PM1 replyview on HN

I'm surprised to learn that lean defines the natural number 1/0 as 0.


Replies

istjohntoday at 2:15 PM

Doesn't this allow one to prove x=y for any x, y?

x/0 = x(1/0) = x*0 = 0, so x/0 = 0 for all x.

So x/0 = y/0.

Multiply both sides by 0: x = y.

show 4 replies