Open koushik-ms opened 4 months ago
The name full_simplify
is misleading, and should perhaps be changed, because the method does not perform all possible simplifications.
I think the one you want is canonicalize_radical
.
sage: q = sqrt(15)*sqrt(5)*sqrt(3)
sage: q.canonicalize_radical()
15
That's absolutely right. Thanks for the hint!
Steps To Reproduce
sqrt(15)*sqrt(15)
. Output is15
. This is as expected.Expected Behavior
Output is
15
Actual Behavior
Output is
sqrt(15)*sqrt(5)*sqrt(3)
Additional Information
Below is a larger transcript with some comments of this problem manifesting in other ways:
Environment
Checklist