Let $S = [a,b]\cap\mathbb{Q}$. Two definitions:
- $\mathcal{X}_S(x) = 1$ if $x \in S$ and $0$ otherwise;
- $\mathcal{X}_{k}(x)= 1$ on the first $k$ entries of $S$ and $0$ otherwise, $k \in \mathbb{N}$.
Prove that $\mathcal{X}_k \nearrow \mathcal{X}_S$. I take $\nearrow$ to mean that $\mathcal{X}_k$ is increasing up to its limit $\mathcal{X}_S$. This seems intuitively true, but how may I conclusively show it?