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] question about hybrid logic functions
- Subject: [Frama-c-discuss] question about hybrid logic functions
- From: Patrick.Baudin at cea.fr (BAUDIN Patrick)
- Date: Tue, 25 Aug 2009 11:10:28 +0200
- In-reply-to: <4A93A717.8060300@inria.fr>
- References: <B0130C58-E12F-44DA-8F19-E94169F4BBE3@di.uminho.pt> <4A9289C8.8060202@inria.fr> <4A939059.50706@cea.fr> <4A93A717.8060300@inria.fr>
>> /*@ requires 0 < count_of{Here}(st); >> @ assigns st.my_abstraction; >> @ ensures count_of{Here}(st) == count_of{Old}(\old(st)) - 1; >> @*/ >> >> in fact, the labels {Here} and {Old} given to count_of are insignificant >> >> > Wrong again. It is the \old(st) which is useless: st is not modified by > the function so \old(st)==st. > In the other hand, count_of{Old}(st) is a priori different from > count_of{Here}(st) since count_of > reads st.my_abstraction and this is said to be assigned. > I can't see is how you can @ assigns st.my_abstraction and @ ensures \old(st)==st in a same specification ? Patrick. -------------- section suivante -------------- Une pi?ce jointe HTML a ?t? enlev?e... URL: http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20090825/a0466ec5/attachment.htm
- Follow-Ups:
- [Frama-c-discuss] question about hybrid logic functions
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] question about hybrid logic functions
- References:
- [Frama-c-discuss] question about hybrid logic functions
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] question about hybrid logic functions
- From: Patrick.Baudin at cea.fr (BAUDIN Patrick)
- [Frama-c-discuss] question about hybrid logic functions
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] question about hybrid logic functions
- Prev by Date: [Frama-c-discuss] question about hybrid logic functions
- Next by Date: [Frama-c-discuss] question about hybrid logic functions
- Previous by thread: [Frama-c-discuss] question about hybrid logic functions
- Next by thread: [Frama-c-discuss] question about hybrid logic functions
- Index(es):