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] Problems with ensures


  • Subject: [Frama-c-discuss] Problems with ensures
  • From: alle.iot at gmail.com (Alessio Iotti)
  • Date: Thu, 31 Oct 2013 09:49:13 +0100

Dear All,

the attached file is a simple C program that (perhaps) computes the
greatest common divisor
of two integers.
I have defined a predicate, IsGCD(a, b, val), that is true if val is the
GCD of a and b.
Frama-C can prove the loop invariant and variant, but cannot prove the
ensures clause of the contract: I don't understand why.
I am using Frama-C Fluorine-20130601, with Alt-Ergo prover (version
0.95.2), Jessie plug-in (version 2.33), Why 2.33 and Why3 0.81.
Any help would be appreciated.
Kind regards,

   Alessio Iotti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20131031/890e032c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcd.c
Type: text/x-csrc
Size: 641 bytes
Desc: not available
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20131031/890e032c/attachment-0001.c>