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] Jessie failure: "Unexpected internal region in logic"


  • Subject: [Frama-c-discuss] Jessie failure: "Unexpected internal region in logic"
  • From: david.delmas at airbus.com (David Delmas)
  • Date: Fri, 12 Mar 2010 08:45:37 +0100

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>