[Frama-c-discuss] Jessie failure: "Unexpected internal region in logic"

David Delmas david.delmas at airbus.com
Fri Mar 12 08:45:37 CET 2010


Dear all,

I am running Frama-C Beryllium-20090902 with Why 2.21.

I can successfully run "frama-c -jessie no_failure.c" on the below
no_failure.c file :


        //@ predicate P0{L}(int t[], int i) = t[i]==1;
        
        /*@ axiomatic No_Failure_1 {
        
        predicate P1{L}(int t[], int i);
        
        axiom aP1{L} :
            \forall int t[], int i;
                i==0 && P0{L}(t,i) ==> P1{L}(t,i);
        
        }*/
        
        /*@ axiomatic No_Failure_2 {
        
        predicate P2{L}(int t[], int i);
        
        axiom aP2{L} :
            \forall int t[], int i;
                i!=1 && !P0{L}(t,i) ==> P2{L}(t,i);
        }*/


But then, I if decide to merge the definitions of predicates P1 and P2
into a single axiomatic, I get the following failure.c file :


        //@ predicate P0{L}(int t[], int i) = t[i]==1;
        
        /*@ axiomatic Failure_Unexpected_internal_region_in_logic {
        
        predicate P1{L}(int t[], int i);
        predicate P2{L}(int t[], int i);
        
        axiom aP1{L} :
            \forall int t[], int i;
                i==0 && P0{L}(t,i) ==> P1{L}(t,i);
        
        axiom aP2{L} :
            \forall int t[], int i;
                i!=1 && !P0{L}(t,i) ==> P2{L}(t,i);
        }*/


If I then run "frama-c -jessie failure.c", I get the below error :
Uncaught exception: Failure("Unexpected internal region in logic")

Could you please explain me why?

--
Thank you in advance for your help,
David


The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.

-------------- section suivante --------------
Une pièce jointe HTML a été nettoyée...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20100312/2f9c082e/attachment.htm>


More information about the Frama-c-discuss mailing list