$$g(x)= \begin{cases} 6 &\text{, if x $\in \mathbb{Q}$}\\ x &\text{, if x $\notin$ $\mathbb{Q}$} \end{cases}$$
If $P$ is a partition: $\{x_0 = 7.1, x_1, x_2, \dots , x_n = 8\}$, find $L(g,P)$ and $U(g,P)$. Simplify sums where possible.
$m_i$ = inf $\{g(x), \text{ all partitions P on [7.1, 8]}\}$
We know that $g$ will take on the value $6$. But we have that $g(x)$ takes on $'x'$ as well, and I'm not sure how to handle this?