[math] How to expand and compute log(a + b)?