dreal / dreal2

Please check dreal4 instead.
https://github.com/dreal/dreal4
GNU General Public License v3.0
13 stars 15 forks source link

file format error returned by dReach #4

Closed rachelwang closed 10 years ago

rachelwang commented 10 years ago

why and when dreal returns with the following information?

dReal Options:
>> file format error: The last mode of the given path [1, 2, 2, 2, 2] is 2 which is not an element of [1], the list of modes in the goal section of the given hybrid system model.
rachelwang commented 10 years ago

This one as well:

Uncaught exception: Bmc.SMTException("time should be defined once and only once.")
soonhokong commented 10 years ago

why and when dreal returns with the following information?

bmc program takes three input parameters:

The error message indicates that your model (.drh file) has the following specifications:

and the provided path [1, 2, 2, 2] is not satisfiable because the final mode in the path is 2, not 1.

Now, you may have a question, "I haven't really provided a path to dReach. Then why do I have the error?"

The answer is that for now dReach explicitly enumerates all possible paths from the given model and run bmc for paths, one by one. Actually, dReach should not enumerate the path [1,2,2,2] since it's obviously unreachable. I think this is a bug. Can you give me the drh file that you tried with? I'll fix the bug later.

This one as well:

Please file a separate issue for this one with the .drh that you provided.

soonhokong commented 10 years ago

BTW, this explicit path enumeration is of course not the ideal thing to do. @scungao, @danbryce, and I are working on a better way to handle the problem.

soonhokong commented 10 years ago

8320e93de1507c5e38b73cb804ebe44fb2c3dabf fixes the problem of bmc generating unfeasible paths. @rachelwang, please try to use this one and report errors if any.