v0.18.0
SymbolicUtils v0.18.0
- Added an
optimizefunction that takes an expression and returns the optimized expression, using EGraphs from Metatheory.jl symbolicegraphfunction to construct an egraph prepared for<:Symbolicexpressions.- Internal function
totermto transform Add, Mul, Pow, etc... into Term{T} - Internal function
unflattenthat takes associative n-ary terms and turns them into their binaryTerm{T}representation (egraph rewriting works best with this representation) - An egraph cost function that computes the cost of operations of terms in CPU cycles (See https://arxiv.org/abs/2105.03949).
similartermfor<:Symbolictypes can now dispatch against af::Symboloperation, resolving the corresponding function object to support the EGraph backend
Merged pull requests: