Was tun mit Termen wie 3x - - 2 ?

3x - - 2 passiert,
wenn a in 3x - {@a@} durch eine negative Zahl belegt wird
und das automatische simplify durch simp:false ausgestellt sein muss.

Sieht doof aus, kann man aber so reparieren:

unary_minus_sort(3x- {@a@})

 

vgl. https://github.com/maths/moodle-qtype_stack/blob/master/doc/en/CAS/Maxima.md#maxima-commands-defined-by-stack-maxima_commands_defined_by_stack