Let $L_p$ be the complete, separable space with $p>0$. $\mathbf{J}=\{I = (r,s] \}$ where $r$ and $s$ are rational numbers. $\mathbf{A}$ is the algebra generated by $\mathbf{J}$, with $\mathbf{S}=\operatorname{span}(\mathbf{A})$.
a). Try to verify that $\mathbf{S}$ is dense in $L_p$ space with respect to $L_p$ metric.
b). Try to verify that for any $p>0$, $L_p$ is complete.