Open acsofie opened 2 years ago
isequal
in SymbolicUtils.jl intends to only compare the exact expressions instead of their equivalent simplified forms. See
https://github.com/JuliaSymbolics/SymbolicUtils.jl/blob/v0.19.7/src/types.jl (find isequal
)
and in master branch
https://github.com/JuliaSymbolics/SymbolicUtils.jl/blob/97a8a86227f5eb824c3c28e5f2094d8168b5fa57/src/types.jl#L190-L219
yes, I know. But
syms
has been simplified. isequal
, y / (x*((y / x)^2))
and y/x/((y/x)^2)
should be true.julia> a = y / (x*((y / x)^2))
y / (x*((y / x)^2))
and
julia> simplify(a)
y / (x*((y / x)^2))
code:
environment: