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] existential variables in ACSL spec in Frama-C/WP Sodium


  • Subject: [Frama-c-discuss] existential variables in ACSL spec in Frama-C/WP Sodium
  • From: loic.correnson at cea.fr (Loïc Correnson)
  • Date: Mon, 30 Mar 2015 11:05:39 +0200
  • In-reply-to: <CAL+X0e=9dKX0KTCObEOghx2AzQX+6_1Dg5Cfmp0VoJzEtNP70A@mail.gmail.com>
  • References: <CAL+X0e=9dKX0KTCObEOghx2AzQX+6_1Dg5Cfmp0VoJzEtNP70A@mail.gmail.com>

Yes, this is a bug indeed.
You can turn around with -wp-no-let.
	L.

> Le 30 mars 2015 ? 03:06, Junkil (David) Park <junkil.park at cis.upenn.edu> a ?crit :
> 
> Hi,
> 
> There seems to be something wrong with Frama-C/WP (Sodium) with 5 or more existential variables in the specification.
> 
> // dummy.c
> void dummy()
> {
> 	double d = 7;
> 	//@ assert \exists real r1, r2, r3, r4, r5; d == r1 + r2 + r3 + r4 + r5;
> }
> 
> > frama-c -wp dummy.c
> [kernel] Parsing FRAMAC_SHARE/libc/__fc_builtin_for_normalization.i (no preprocessing)
> [kernel] Parsing dummy.c (with preprocessing)
> [wp] Running WP plugin...
> [wp] Collecting axiomatic usage
> [wp] warning: Missing RTE guards
> [wp] 1 goal scheduled
> [wp] Proved goals:    0 / 1
> 
> In the example above, Frama-C/WP doesn't try to prove it. 
> 
> In addition, for the command below, it generate nothing.
> > frama-c -wp -wp-prover why3 -wp-gen -wp-out dummy dummy.c
> 
> With 4 existential variables instead of 5, Frama-C/WP works fine. 
> 
> 
> Am I missing something? Or, is it an issue of the new version of Frama-C?
> 
> Thanks,
> Junkil
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss