giovinazzo-kevin / Ergo

Other
4 stars 0 forks source link

Macro expansions cause multiple redundant assertions #63

Closed giovinazzo-kevin closed 1 year ago

giovinazzo-kevin commented 1 year ago

image

This is before running a query.

image

And this is after. There are multiple identical instances of fibonacci/4 and others.

giovinazzo-kevin commented 1 year ago

Partially fixed by using NumberVars to check for predicate structural equality.

Expansions are being refactored to be more efficient and consistent across the board.