When writing ACSL of function in frama-c, I want the array of global variables to satisfy a requirement, for example:
int a[5];
/*@requires \forall int i; 0 <= i <= 4 ==> a[i] > 0;
*/
void f()
{
do something with a...;
}
I want all the elements of a larger than 0, so is that right? I try that, that doesn't work, can anyone tell me how to write it?
Thanks very much.