News for hackers. Stuff that matters.
Re:Junk Theorems in Lean by istjohn on Saturday December 27, 2025 @09:15AM (#46401995)
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.

Re:Junk Theorems in Lean by Smaug123 on Saturday December 27, 2025 @10:15AM (#46402423)
What theorem did you use that allowed you to multiply both sides by $0$? (That theorem had conditions on it which you didn't satisfy.)
Re:Junk Theorems in Lean by rnhmjoj on Saturday December 27, 2025 @09:32AM (#46402115)
No, because x/y is just an arbitrary operation between x and y. Here you're assuming that 1/x is the inverse of x under *, but it's not.
Re:Junk Theorems in Lean by orbifold on Saturday December 27, 2025 @10:37AM (#46402583)
I mean in a normal math curriculum you would define only the multiplicative inverse and then there is a separate way to define fraction, if you start out with certain rings. It is kind of surprising to me that they did a lazy definition of division.