Proof (LU factorisation preserves leading zeros)

It's matrix multiplication. Stare at this: $$ \begin{align*} \pmat{* & * & * & * \\ * & * & * & * \\ 0 & 0 & * & * \\ * & * & * & * } = \pmat{1\\ * & 1\\ 0 & 0 & 1\\ * & * & * & 1 } \pmat{* & * & * & * \\ & * & * & * \\ && * & * \\ &&& * } \end{align*} $$

This is all of it spelt out: notice on row $i$, $$ \begin{align*} a_{i1} ={}& l_{i1} u_{11}, \\ a_{i2} ={}& l_{i1} u_{12} + l_{i2} u_{22}, \\ a_{i3} ={}& l_{i1} u_{13} + l_{i2} u_{23} + l_{i 3} u_{33} \end{align*} $$ etc. Since $u_{kk}\neq 0$, if $a_{i 1}=0$, then $l_{i 1}$; if furthermore $a_{i 2} = 0$, then $l_{i 2} = 0$, and so on.

(We can't have $i$ leading zeros on row $i$ of $A$, since otherwise the $i$-th principal minor of $A$ is singular.)