Closed yav closed 6 years ago
Thanks for the report. This was indeed a bug. It should be fixed, but let me know if there is more issues. We don't have many use-cases yet with multiple queries so I'm sure there is more bugs lurking.
As a note, for second query, the resulting trace is of size 1 (values in initial state).
Thanks for the quick fix, it seems to work! Am I correct in a assuming that one should never get an empty trace, as the last state in the trace should be the one that violates the query?
It would seem that previously Sally would sometimes produce empty traces, but maybe it was related to this bug.
This is with the version of Sally compiled again revision c9856e7a751eebf11e from GitHub.
Sally seems to be producing incorrect traces in some cases. Here is an example transitions system with two queries:
This produces the traces below, using flags:
sally --engine=pdkind --show-trace
The first trace is the correct answer for query 1, however the second one appears to be just a copy of the first. Indeed, query 2 should fail with an empty trace, as it is already false in the initial state.
If I swap the order of the queries, then I get the expected answer.