How do I debug missing variables from SMT-Lib output?
问题 Based on this very helpful answer I rewrote my solver-for-a-stateful-program to use the Query monad and an ever-increasing list of SMT variables standing for the inputs. I expected one of two outcomes from this: either the first part (generating the SMTLib output) is sped up a lot and becomes usable, or it still remains so slow that it might as well not work. However, instead I get an error message from the SMT solver (Z3 in my case) complaining about a missing SMT variable in the SMTLib