Let $(\Omega,\mathscr{F},v)$ be some measure space. Consider the non-negative simple function $l:\Omega \rightarrow R$ given by:
$$l(\omega)=\sum _{i=1}^k a_i I_{A_{i}}(\omega)$$
Where $a_i\in R_+, A_i\in\mathscr{F}$, and $I_{A_{i}}$ is the indicator function for $A_i$
Definition 1: Integral of a non-negative simple function $l$ wrt to a measure $v$ is given by:
$$\int l~dv = \sum_{i=1}^k a_i v(A_i)$$
Definition 2: Integral of some non-negative Borel measurable function $f:\Omega\rightarrow R$ with respect to measure $v$ is given by:
$$\int f~dv= \sup\left\{\int l~dv: l \in S_f \right\}$$
Where $S_f$ is a collection of non-negative simple functions satisfying $l(\omega) \leq f(\omega)$ $\forall\omega\in\Omega$.
Consider some non-negative simple function $l'$. I am aware all simple functions as defined above are Borel measurable. So how do I reconcile definition 1 and 2? That is, how do I prove that:
$$\sup\left\{\int l~dv: l \in S_{l'} \right\} = \sum_{i=1}^{k'} a_i' v(A_i')$$
Where $l'(\omega)=\sum _{i=1}^{k'} {a_i'} I_{A_{i}'}(\omega), a_i'\in R_+, A_i'\in\mathscr{F}$ and $S_{l'}$ is the collection of non-negative simple functions satisfying $l(\omega)\leq l'(\omega)$ $\forall \omega\in \Omega$