I am trying to show that if $f, g :[0,1] \rightarrow \mathbb{R} $ then $f(x)+g(x) < t$ if and only if there is a rational number $r $ such that $f(x)<r$ and $g(x)<t-r $. Clearly the if statement is clearly. But if $f(x)+g(x)<t$ how can we say there is a rational number $r $ such that $f(x)<r$ and $g(x)<t-r $. It’s seemingly so simple but yeah it’s confusing me.
I am trying to show that $$\{ x \in [0,1] : f(x)+g(x)<t \}=\bigcup_{r \in \mathbb{Q}}( \{x \in [0,1] : f(x)<r \} \cap \{x \in [0,1] : g(x)<t-r \})$$ but the obviousness seems to be eluding me.