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] Selection Sort loop-invariant problem

  • Subject: [Frama-c-discuss] Selection Sort loop-invariant problem
  • From: ulissesaraujocosta at (Ulisses Araújo Costa)
  • Date: Wed, 24 Jun 2009 16:36:07 +0100

Hello everyone,

apparently the example that the online manual has a problem with the sorting
It seems that frama-c can not prove the preservation of the outer-loop

    @   Sorted(t,0,i) &&
    @   (\forall integer k1, k2 ;
    @      0 <= k1 < i <= k2 < n ==> t[k1] <= t[k2]) ;

I tried to fix but failed. Can you help me?


Ulisses Ara?jo Costa -
-------------- next part --------------
An HTML attachment was scrubbed...