inconsistency in the boogie program #766
-
Hi, I am seeing a strange inconsistency behavior in the boogie program attached to this question. I am wondering whether it is an issue from the program or the boogie tool. Can anyone give me some hints on how to debug this? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
You are using an old version of Boogie with syntax for datatypes that is no longer supported. The latest Boogie supports first-class syntax for datatypes. I ported your example manually. I noticed that it has axioms. The last two axioms have quantifiers in them. If I comment any one of those two axioms, I get an error. Does that help? |
Beta Was this translation helpful? Give feedback.
-
Can you state more precisely what you mean by "inconsistency goes away"? If
by going away you mean that some version of Z3 is unable to prove that
assertion, it does not conclusively mean that there is no inconsistency in
your axioms. It could just be the incompleteness in Z3 that is not allowing
it to prove the assertion. Unless there is a bug in Z3, even if one version
of Z3 is able to prove the assertion and you find this result
counter-intuitive, it means that there is very likely some inconsistency in
your axioms.
In general, it would be helpful for you to have a clear model of Boogie/Z3
behavior in the presence of quantifiers. It is all rather nuanced for the
users. I wish it weren't so but in general when you have quantifiers in the
formula, you have to be very careful in your interpretation of the behavior
you see.
We can talk more about all this when we meet 1-1.
…On Wed, Aug 16, 2023 at 2:12 AM Teng Zhang ***@***.***> wrote:
@shazqadeer <https://github.com/shazqadeer> It seems that inconsistency
issue goes away when using z3 4.12.2 instead of 4.11.2
—
Reply to this email directly, view it on GitHub
<#766 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB2RCFR5KDQ34JMO23BUES3XVSFJBANCNFSM6AAAAAA24HHCLU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok. I will close this one then. Please reopen if anything is unresolved. |
Beta Was this translation helpful? Give feedback.
yeah, the issue comes from an axiom that says a generic serialize function is injective