serialize ur egraphs
mostly for use in extraction gym rn
snippet for egg
One day egg will natively export to this format, but for now you can use this:
Don't forget to add something to root_eclasses
on the resulting serialized egraph!
Visualization
Check out the ./tests-viz
directory to view visualizations of all the test cases with Graphviz.
To remake them, run make tests
from the root of this repo. Any tests that don't have SVG visualizations created yet will be generated. You'll need to have Graphviz installed.