Hi everyone,
I’m working my way through a reasonably large theorem. At some point, I need to do some rewriting/expansion of definition. I have found (on smaller cases) that the rule (do-rewrite) works better in terms of time than repeating the rule (expand function-name).
However, when it comes to rewriting a quite large formula, I get an heap exhaustion message, something like:
Heap exhausted during allocation: 129564672 bytes available, 221287376 requested.
I have found a similar issue reported (https://github.com/SRI-CSL/PVS/issues/73) and I tried the solution suggested from the poster (i.e. changing the emacs/pvs-ilips.el) but that doesn’t solve the issue and it also does not seem practical.
Has anyone else dealt with something like this before? I’m sure PVS has been used to prove large theorems before…. I’m wondering whether I am dealing with a memory leak, so I should release memory that is storing stuff that is no longer useful. But I’m not quite sure how to tell PVS to do that (if that’s even the case).
Thanks,
Giulia