We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f5a796 commit 847c86fCopy full SHA for 847c86f
test/egraph.jl
@@ -4,6 +4,7 @@ using Metatheory
4
sym_eq(x, y) = simplify(x == y)
5
6
@testset "Basic optimization" begin
7
+ @syms a b c x y z
8
ex = 2a + 2b - (a*(a + b))
9
res = optimize(ex)
10
@test sym_eq(res, (a+b)*(2-a))
0 commit comments