I previously had not looked at the further discussion in that report,
but the discussion of branches of the log function and the Sage
"simplification" shows it is not a parsing problem.
Since log() is in general multivalued, any answer that
ignores this possibility may fall into a trap. Setting a domain
to something or other does not necessarily avoid the trap.
An example that is simpler and perhaps reminiscent of this
kind of error is to assert that sqrt(x^2) is x or abs(x), when
there are (except if x=0) TWO square roots, x, -x.
Even if you know that x is positive, there are still two
square roots. sqrt(9) has 2 values. Unless you want
to define sqrt as something else. Do you? How about log()
in the current example..
RJF