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] multiple behaviors in statement contracts
- Subject: [Frama-c-discuss] multiple behaviors in statement contracts
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- Date: Thu, 20 Feb 2014 18:09:58 +0100
- In-reply-to: <1310126872.10487660.1392910902718.JavaMail.root@mail.gatech.edu>
- References: <CA+yPOViksq-bpf_4rnHBzgmwm_GQ9C0=vVy58haE7_s_iK-TXA@mail.gmail.com> <1310126872.10487660.1392910902718.JavaMail.root@mail.gatech.edu>
2014-02-20 16:41 GMT+01:00 Jobredeaux, Romain J <jobredeaux at gatech.edu>: > Thanks for your reply Virgile, > > Indeed the syntax you suggest is valid, however, like you said, it looks like the assumptions and requirements on the nominal behavior, given in the function contract, are not available for the proof of the local contract :/. I am using WP -> Why3 -> PVS. Is that a 'bug'/not-yet-implemented-functionality of WP? > Indeed, this feature is not implemented (patches welcome). A crude work-around would be a small visitor that would propagate all assumes and requires of behavior nominal into the statement contract under a big \at(...,Pre). Rather ugly, but probably easier than to dive into WP's internals. Best regards, -- E tutto per oggi, a la prossima volta Virgile
- Follow-Ups:
- [Frama-c-discuss] Casting puzzle - unproved?
- From: dganesan at fc-md.umd.edu (Dharmalingam Ganesan)
- [Frama-c-discuss] Casting puzzle - unproved?
- References:
- [Frama-c-discuss] multiple behaviors in statement contracts
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] multiple behaviors in statement contracts
- From: jobredeaux at gatech.edu (Jobredeaux, Romain J)
- [Frama-c-discuss] multiple behaviors in statement contracts
- Prev by Date: [Frama-c-discuss] multiple behaviors in statement contracts
- Next by Date: [Frama-c-discuss] Casting puzzle - unproved?
- Previous by thread: [Frama-c-discuss] multiple behaviors in statement contracts
- Next by thread: [Frama-c-discuss] Casting puzzle - unproved?
- Index(es):