Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplify_full() fails to simplify simple constant expressions to zero #23738

Open
mezzarobba opened this issue Aug 28, 2017 · 1 comment
Open

Comments

@mezzarobba
Copy link
Member

An issue found by Victor Spitzer: Sage fails to simplify

sage: f = log(sqrt(2) - 1) + log(sqrt(2) + 1)
sage: f.simplify_full()
log(sqrt(2) + 1) + log(sqrt(2) - 1)

without help. Doing

sage: f.simplify_real().simplify_log()
0

works, but it would be nice if simplify_{log,full}) detected by themselves that simplify_real() is applicable in this case.

Component: symbolics

Issue created by migration from https://trac.sagemath.org/ticket/23738

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant