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] Verifying recursive functions
- Subject: [Frama-c-discuss] Verifying recursive functions
- From: Claude.Marche at inria.fr (Claude Marché)
- Date: Thu, 26 Mar 2009 09:14:37 +0100
- In-reply-to: <FC0686BB6178BC43B9DC035287A11A720816A163BA@SI-MBX12.de.bosch.com>
- References: <FC0686BB6178BC43B9DC035287A11A7204EAF43D@SI-MBX12.de.bosch.com> <9598B2A3-D003-46C4-A427-505560FD0C74@cea.fr> <49C3BA66.7080008@inria.fr> <FC0686BB6178BC43B9DC035287A11A720816A163BA@SI-MBX12.de.bosch.com>
You can fill a bug report, but a simple answer is that the \sum construct is not yet supported by Jessie yet, so it might be related. You can design your own definition of \sum, specific to this instance, in a similar way I proposed a definition of \product in an answer to one of your previous mails. - Claude Hollas Boris (CR/AEY1) wrote: > Hello, > > Frama-c reports a fatal error when I run it on the following code: > > > /*@ > requires n >= 0; > ensures \result == \sum(0,n, \lambda integer i; i); > */ > int sum(int n) { > if(n==0) return 0; > else return n + sum(n-1); > } > > > This is the output: > > > ~/progs/fc/sum> frama-c -jessie-analysis sum.c > Parsing > [preprocessing] running gcc -C -E -I. -include C:\Frama-C\share\frama-c\jessie\jessie_prolog.h -dD sum.c > Cleaning unused parts > Symbolic link > Starting semantical analysis > Starting Jessie translation > Fatal error: exception Assert_failure("src/jessie/interp.ml", 564, 19) > > > Is this a bug in Jessie? > > -Boris > > _______________________________________________ > Frama-c-discuss mailing list > Frama-c-discuss at lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/frama-c-discuss -- Claude March? | tel: +33 1 72 92 59 69 INRIA Saclay - ?le-de-France | mobile: +33 6 33 14 57 93 Parc Orsay Universit? | fax: +33 1 74 85 42 29 4, rue Jacques Monod - B?timent N | http://www.lri.fr/~marche/ F-91893 ORSAY Cedex |
- Follow-Ups:
- [Frama-c-discuss] Verifying recursive functions
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Verifying recursive functions
- References:
- [Frama-c-discuss] Verifying recursive functions
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Verifying recursive functions
- From: Pascal.Cuoq at cea.fr (Pascal Cuoq)
- [Frama-c-discuss] Verifying recursive functions
- From: Claude.Marche at inria.fr (Claude Marché)
- [Frama-c-discuss] Verifying recursive functions
- From: Boris.Hollas at de.bosch.com (Hollas Boris (CR/AEY1))
- [Frama-c-discuss] Verifying recursive functions
- Prev by Date: [Frama-c-discuss] [Jessie] Problem with simple search programm
- Next by Date: [Frama-c-discuss] [Jessie] Problem with simple search programm
- Previous by thread: [Frama-c-discuss] Verifying recursive functions
- Next by thread: [Frama-c-discuss] Verifying recursive functions
- Index(es):