Inspect kanren
states generated by walko
#55
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
important
performance
question
Further information is requested
term rewriting
Looking at the
walko
example in aesara-devs/aesara#1082, I'm starting to wonder if some of those entries in the state are necessary or not. In particular,For instance, there are two logic variables mapped to
1
, and only one of them (i.e.~_144
) is referenced elsewhere in the states that are generated. The gives the impression that~_146
could be removed or avoided altogether.We should take a closer look at what
walko
is doing and see if there are "temporary/intermediate" unifications that can be trimmed from the state (or removed altogether), because we don't want graph walking to generate unnecessarily large statedict
s.The text was updated successfully, but these errors were encountered: