Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
0 replies
-
For me, I used my bottom-up code from homework 4 as-is, removed some optimizations that couldn't be applied to CEGIS or was buggy for some other reason, and added logic in dealing with counterexample returned by |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your replies. I'll try it again. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think that spec.param and spec.vars should contain exactly same variables since the function Spec.verify gives counterexamples for spec.param. So to test constraints with these examples, shouldn't they be same?
Is it possible that the verify function distinguishes the input parameters of target function? According to the code in language.ml I think this is impossible since "to_z3expr" function does not care about the parameters of functions. I even think that the "args" argument in "to_z3expr" has no meaning since this is never used.
Could you give me some hints about 'why the crash occurs'? I first think that this is the problem regarding to the parameters of functions in constraints, but this does not make sense according to the above two questions.
I'm asking these questions because I've spent a lot of time on this task, but I haven't made any progress.
There is a limit that I can solve with bottomup search and equivalence reduction. However, since there are many people who have solved this task, I think I am missing an important part of this task, so I want to know that part.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions