Definition (simple function)

Let $(E,\mathcal{A})$ be a measurable space.

A function $f: (E,\mathcal{A}) \to \R$ is called simple if it takes a finite number of values $α_1 < α_2 < \ldots < α_n$, and $f\inv(\set{α_j})\in \mathcal{A}$ for all $j=1,\ldots,n$.

Equivalently, there exists a finite partition $\set{A_1, \ldots, A_n}$ of $E$ into $\mathcal{A}$-measurable sets and values $α_1, \ldots, α_n\in \R$ such that $$ \begin{align*} f = \sum_{j=1}^{n} α_j \mathbb{1}_{A_j}, \end{align*} $$ which is called the canonical representation of $f$.