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: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- Date: Thu, 3 Dec 2009 14:26:40 +0100
- In-reply-to: <4B17B95A.206@inria.fr>
- References: <FC0686BB6178BC43B9DC035287A11A720DBE657C91@SI-MBX12.de.bosch.com> <20091125162200.0a3ccb44@is010235> <FC0686BB6178BC43B9DC035287A11A720DBE657D6B@SI-MBX12.de.bosch.com> <4B17A5C1.2040409@inria.fr> <FC0686BB6178BC43B9DC035287A11A720DBE768CFE@SI-MBX12.de.bosch.com> <4B17B95A.206@inria.fr>
More precisely, consider this code: //@ lemma mean_property2: \forall integer l, h; l <= h ==> l <= (l+h)/2 <= h; //@ ensures l <= \result <= h; Int foo(int l, int h) { return (l+h)/2; } Main() { int a = foo(maxint, maxint); } I can't test this with my installation because Beryllium1 doesn't verify mean_property2. If this lemma can be proved however, what result is Jessie supposed to give on this code? - Boris > Lemma mean_property2 DOES HOLD for int since in annotations, + means > addition on integers and not on ints. > - Claude
- Follow-Ups:
- [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- From: Claude.Marche at inria.fr (Claude Marche)
- [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- References:
- [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- From: Claude.Marche at inria.fr (Claude Marche)
- [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
- From: Claude.Marche at inria.fr (Claude Marche)
- [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] Problem with memset
- Previous by thread: [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- Next by thread: [Frama-c-discuss] Lemma from ACSL doc doesn't verify
- Index(es):