I'm looking for a formal proof of following equality:
$$ u[n] = \sum_{k = 0}^{\infty} \delta[n-k]$$
My try: We should prove that $\lim_{k \to \infty}(\delta[n] + \delta[n-1] + \dots \delta[n-k]) = u[n]$. According to definitions $$u[n] = \begin{cases} 0 & \text{if $n \lt0$} \\ 1 & \text{if $n\ge0$ } \end{cases}$$
and $$\delta[n] = \begin{cases} 0 & \text{if $n \not=0$} \\ 1 & \text{if $n =0$ } \end{cases}$$ I don't know how to relate these equations to prove that equality. Intuitively the equality is obvious.
Let $a_l = \sum_{k = 0}^{l} \delta[n-k]$ for $l = 0, 1, 2, \ldots$.
Case 1: $n < 0$. Then $n-k < 0$ for all $k \ge 0$, so that $a_l = 0$ for all $l \ge 0$. It follows that $$ \sum_{k = 0}^{\infty} \delta[n-k] = \lim_{l \to \infty} a_l = 0 = u[n] \, . $$
Case 2: $n \ge 0$. For all $l \ge n$ $$ a_l = \sum_{k = 0}^{l} \delta[n-k] = \sum_{k = n}^{n} \delta[n-k] = 1 $$ because all other terms vanish. It follows that $$ \sum_{k = 0}^{\infty} \delta[n-k] = \lim_{l \to \infty} a_l = 1 = u[n] \, . $$