In lean, there exists a notation for the summation sign (Σ, large Sigma) to write sums with many terms. Sadly, neither the mathlib documentation nor the reference manual seem to provide much information about how it can be used.
What imports are required in order to use it, and how do you write sums with it?
For example, how would you write the theorem that the first n natural numbers add up to n * (n + 1) / 2, using the summation sign?
theorem exmpl (n : ℕ) : --(sum from k=1 to k=n over term n) = n * (n + 1) / 2