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] How to make wp to prove the invariant successfully?

Le 7 f?vr. 12 ? 14:26, Henry a ?crit :

> Yes, I don't understand the \forall quantifier properly.

It is the standard logical quantifier.

> But if the invariant is changed to be 0 <= x <= (z+1.0), then the  
> status is unknown. Is the type of the constant very important? Which  
> type it should be if the type of x and z is different?

By using 1.0 instead of 1, your specification is promoted to real  
world, where SMT solvers are far less efficient than in integer world.
Similar to using C-float 1.0 instead of C-int 1.

> Henry
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at