Frama-C-discuss mailing list archives

This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] Problem with wp, when changing the position between "<==>"


  • Subject: [Frama-c-discuss] Problem with wp, when changing the position between "<==>"
  • From: marsishandsome at gmail.com (mars Gu)
  • Date: Wed, 13 Jul 2011 15:40:23 +0200

Hi,

i really appreciate your help for the last problem about "<==>", which is
already solved.

But when I continue to prove, a problem occurs, which makes me confused.
In the file "binary_search3.c",
in line 46, "HasValue(a, n, val) <==> r;" can be proved by WP,
while in line 47, " r <==> HasValue(a, n, val);" cannot.

The only difference between line 46 and 47 is, that the left and the right
side is exchanged.
It will be better, if WP can prove this specification.


My Frama-C's Version is "Frama-C Carbon-20110201+dev".
I start Frama-C with the following command:  "frama-c-gui -wp
-wp-proof alt-ergo binary_search3.c &".


Liangliang Gu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110713/74ea0220/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binary_search3.c
Type: text/x-csrc
Size: 1144 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20110713/74ea0220/attachment.c>