math: simplify implied_condition_true/false()