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] Loop invariants

  • Subject: [Frama-c-discuss] Loop invariants
  • From: Boris.Hollas at (Hollas Boris (CR/AEY1))
  • Date: Mon, 11 May 2009 15:00:15 +0200


consider the following while loop:

// loop invariant i <= n;
while(some condition) {

Assume that
- the loop invariant holds and
- P is a block of code that does not modify i.
Hence, i < n holds in P. Does Jessie know that when analysing this kind of loop? Ie, is Jessie able to conclude  i <= n \land (some condition) ==> i < n ?

- Boris