egraphs-good / eggcc

MIT License
42 stars 8 forks source link

Context rules with fine-grained control of how deep to copy #406

Closed oflatt closed 6 months ago

oflatt commented 6 months ago

This PR improves the context rules, with fine-grained control of how deep to copy. It also fixes our saturation issues by keeping track of a list of eclasses already visited, and subsuming rows that have encountered a cycle.