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 this to zero #130

Closed
shashi opened this issue Oct 2, 2020 · 1 comment
Closed

simplify this to zero #130

shashi opened this issue Oct 2, 2020 · 1 comment

Comments

@shashi
Copy link
Member

shashi commented Oct 2, 2020

0.5 * inv(-0.5 * inv(p) ^ 1 * q * r + p + s) ^ 1 * inv(p) ^ 1 * r ^ 2 * q + r + -1 * (0.5 * inv(-0.5 * inv(p) ^ 1 * q * r + p + s) ^ 1 * inv(p) ^ 1 * r ^ 2 * q + r)

by @alanedelman

@karlwessel
Copy link
Contributor

This seems to have been fixed at some point. With SymbolicUtils 3.7:

julia> using SymbolicUtils
julia> @syms p r s q
(p, r, s, q)

julia> 0.5 * inv(-0.5 * inv(p) ^ 1 * q * r + p + s) ^ 1 * inv(p) ^ 1 * r ^ 2 * q + r + -1 * (0.5 * inv(-0.5 * inv(p) ^ 1 * q * r + p + s) ^ 1 * inv(p) ^ 1 * r ^ 2 * q + r)
0

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

No branches or pull requests

3 participants