Closed RCoeurjoly closed 1 year ago
Oof, good find, that's not good.
From what I can tell, this seems to be a problem in the underlying Viper backend; Nagini's encoding looks correct to me. The other Viper backend (which you can use by calling Nagini with --verifier=carbon
, but you need to have Boogie 2.4.21 installed to use that backend) correctly complains about the postconditions you mentioned.
I'll look at it it again tomorrow.
Fixed by updating Viper to a recent version that fixed this.
I have the following code that I want to verify:
I expect the following postconditions to fail:
Because the first return gives 1.
However, I get the following output from nagini:
I am using version 0.9.0.