Open melbrbry opened 2 years ago
What makes you suspect there is a bug (except for the reported memory usage "0MB memory used")? Note that the each quantifier may cause a worst-case exponential increase in the automaton size (see https://www.brics.dk/mona/mona14.pdf).
why the -s option is not showing what is going on when it crashes our of memory? why it is just stuck for ever at 99%? also why I do not see any info about how much memory usages are used?
as per the documentation -s option should be used for detecting what exactly causes the state space explosion.
It is showing what is going on:
Projecting #49 '/user/brussel/106/vsc10621/.local/lib/python3.9/site-packages/ltlf2dfa/automa.mona' line 5 column 2
(ex1 v_1: v_1 in $ & 0<=v_1&v_1<=max($) & ((v_1 in AT_P2) & (ex1 v_2: v_2 in
^
Feel free to add more logging info if you want to know what it's doing in the projection operation in more detail. But it's probably not going to help you, for the reason I already explained.
The reported memory usage "0MB memory used" looks wrong, but that's probably just the memory usage measurement that is incorrect, which is unrelated to the actual automata operations.
If you send me (amoeller@cs.au.dk) your input formula, I can see if I can reproduce the out-of-memory situation and look into the incorrectly reported memory usage.
I used -s option to debug and it seems that the computation are all fine until it reaches 99% then it stucks there and eats all the memory. I even tried using 128GB memory, but the same bug persists.
input:
output log file: log_output_file.txt