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] Questions on wp about _Bool, inductive predicates and Coq
- Subject: [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- From: Guillaume.Davy at onera.fr (Guillaume Davy)
- Date: Thu, 15 May 2014 15:01:30 +0200
- In-reply-to: <605002BC-4E35-47FB-9B9A-17FE17891A83@cea.fr>
- References: <eaf36764a5f64d963aaaa78117316a9b@sybille.onecert.fr> <D62D31B1-4DD5-4AB7-8E52-0EFE8A136DCB@cea.fr> <8a9ac72301e7c382f9994a5d3d6ba1ba@sybille.onecert.fr> <605002BC-4E35-47FB-9B9A-17FE17891A83@cea.fr>
Le 15.05.2014 13:09, Lo?c Correnson a ?crit?: > It is also my guess. Have also a look to frama-c -print-*-path > options, -share and -wp-share options. Everything seems normal about the path but since I found a workaround it's hard to test it now. > Of course, this is the nature of inductive types, indeed. > You should also consider the following methodology : > > 1. Declare in Coq your inductive predicate, in a self-consistent Coq > module. > > 2. Declare an *abstract* predicate in ACSL, and state the useful > lemmas you want to USE for proving your code. > > 3. Define a WP-driver (WP ? 2.3.10) that informs WP to link the ACSL > predicate to your Coq module. > > And then, your done in a very sound way. > This can be generalized for types and many other interesting things. This seems to be an interesting methodology, that offers a lot of possibilities. Thanks for yours answers. Guillaume Davy
- References:
- [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- From: loic.correnson at cea.fr (Loïc Correnson)
- [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- From: Guillaume.Davy at onera.fr (Guillaume Davy)
- [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- From: loic.correnson at cea.fr (Loïc Correnson)
- [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- Prev by Date: [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- Next by Date: [Frama-c-discuss] How to transform a statement with case label by using the visitor?
- Previous by thread: [Frama-c-discuss] Questions on wp about _Bool, inductive predicates and Coq
- Next by thread: [Frama-c-discuss] How to transform a statement with case label by using the visitor?
- Index(es):