id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
7334 Sage cannot simplify sums of logarithms whuss burcin "Currently there is no direct way in Sage to apply the transformation:
{{{
log(x) + log(y) -> log(x*y)
}}}
The attached patch fixes this by inserting a call to logcontract()
in the definition of simplify_radical.
Now the following works:
{{{
sage: f = log(sqrt(2) - 1) + log(sqrt(2) + 1)
sage: f.simplify_full()
0
}}}
But I'm not sure if this is the right place for this." defect closed major sage-4.3.3 calculus fixed logarithm fmaltey@… sage-4.3.3.alpha0 Robert Mařík Karl-Dieter Crisman N/A