In the documentation on mathematical formulas, there is the following paragraphs about semantic focus:
In order to activate the semantic editing facilities, please toggle Edit→Preferences→Mathematics→Semantic editing. In the semantic editing mode, several of the structured editing features of TeXmacs apply to the syntactic structure of the formula, rather than the visual structure of the document. For instance, the semantic focus is usually a subformula of the current focus. Similarly, only syntactically meaningful subformulas can be selected when making a selection.
The semantic focus is useful for several reasons. First of all, it is displayed in green if the formula is syntactically correct and in red if you made an error. This allows to quickly notice any typos while entering a formula. Secondly, if you have any doubt on the precedence of a mathematical operator or relation, then the semantic focus will inform you on the default interpretation: by putting your cursor right next to your operator, the subexpression to which the operator applies will be highlighted. In the case of an addition, or a more general associative operator, all summands are highlighted.
First, there is no Mathematics item in the Preferences. I guess it’s automatically turned on in the current version. Second, those functions typed in bold would be very helpful for editing math, but I can’t get any of them to work.