--- layout: fc_discuss_archives title: Message 40 from Frama-C-discuss on December 2008 ---
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Frama-c-discuss] ACSL-implication



Hi,

As far as I understand the question, implication is logical implication.

The other alternative, "conditional evaluation", does not make sense to 
me since terms and propositions given as annotations are not meant to be 
"executed".

My guess is that you are thinking about annotations like

//@ assert p != NULL ==> *p == ...

where the meaning of *p on the right is undefined if the left part is 
not true.

Such "undefinedness" issues are discussed in section 2.2.2 of ACSL 
document (Logic Expressions/Semantics) and for further info I recommend 
reading the work of P. Chalin cited there.

- Claude


Christoph Weber wrote:
> Hello,
> 
> I would like to know, how the implication in the ACSL must be interpreted.
> 
> Is it a logical implication, that returns a boolean, in each case?
> 
> Or is it like a conditional evaluation, where the right-hand-side is only evaluated when the left-hand-side returns true?
> 
> I hope my question makes sense to you.
> 
> Cheers
> 
> Christoph
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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

-- 
Claude March?                          | tel: +33 1 72 92 59 69
INRIA Saclay - ?le-de-France           | mobile: +33 6 33 14 57 93
Parc Orsay Universit?                  | fax: +33 1 74 85 42 29
4, rue Jacques Monod - B?timent N      | http://www.lri.fr/~marche/
F-91893 ORSAY Cedex                    |