News for hackers. Stuff that matters.
Re:Doing a math assignment with the Lean theorem prover by abjKT26nO8 on Monday April 06, 2020 @02:33AM (#22791352)
It's a bit ironic, but the author repeated the same error every time they wrote the formula involving sigma. What they wanted to write was $\sum_{0}^{n} k$. What they actually wrote ($\sum_{0}^{n} n$) is equal to $n \cdot (n+1)$ (without the division by 2).
Re:Doing a math assignment with the Lean theorem prover by mkl on Monday April 06, 2020 @06:55AM (#22792548)
Yes, though it's better to define k: $\sum_{k=0}^n k$.
Re:Doing a math assignment with the Lean theorem prover by ahelwer on Monday April 06, 2020 @10:07AM (#22793805)
lol oops, fixed thanks!