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] Lemma from ACSL doc doesn't verify
- Subject: [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- From: Claude.Marche at inria.fr (Claude Marche)
- Date: Thu, 03 Dec 2009 12:49:21 +0100
- In-reply-to: <FC0686BB6178BC43B9DC035287A11A720DBE657D6B@SI-MBX12.de.bosch.com>
- References: <FC0686BB6178BC43B9DC035287A11A720DBE657C91@SI-MBX12.de.bosch.com> <20091125162200.0a3ccb44@is010235> <FC0686BB6178BC43B9DC035287A11A720DBE657D6B@SI-MBX12.de.bosch.com>
Hollas Boris (CR/AEY1) wrote: > Oops, sorry I meant > > //@ lemma mean_property: \forall int l, h; l <= h ==> l <= l + (h-l)/2 <= h; > > still doesn't verify. I haven't tried the latest version of why however. I have AltErgo 0.7.3 and Z3 1.3. > > -Boris > > _______________________________________________ > 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 > As far as I know, SMT provers do not know the division operator, so it is not surpriseing they don't verify these. For Alt Ergo 0.9, a few set of axioms for div are known, so these lemma verify. But the way, for using these lemmas in your codes, PLEASE USE TYPE integer INSTEAD OF TYPE int /@ lemma mean_property: \forall integer l, h; l <= h ==> l <= l + (h-l)/2 <= h; - Claude -- 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 |
- Follow-Ups:
- [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- Prev by Date: [Frama-c-discuss] Problem with bitwise xor
- Next by Date: [Frama-c-discuss] usage of Frama_C_memcpy
- Previous by thread: [Frama-c-discuss] usage of Frama_C_memcpy
- Next by thread: [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- Index(es):