loda-lang / loda-cpp

Runtime and miner for the LODA language written in C++
https://loda-lang.org/
Apache License 2.0
21 stars 1 forks source link

Simplify products in sums #228

Closed ckrause closed 11 months ago

ckrause commented 1 year ago

e.g. 3*c(n)-c(n) = 2*c(n)

ckrause commented 11 months ago

special case: a(n)-a(n)=0*a(n)=0

ckrause commented 11 months ago

fixed