Module recursive_extract

Source
Expand description

Alternative recursive descent implementation of sketch extraction inspired from pattern matching. This is instead of the bottom-up e-class analysis approach.

FIXME: recursive descent gives wrong results since update to egg main!

Functionsยง

eclass_extract_sketch
Returns the best program satisfying s according to cost_f that is represented in the id e-class of egraph, if it exists.