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] loading coq scripts in Frama-C

  • Subject: [Frama-c-discuss] loading coq scripts in Frama-C
  • From: loic.correnson at (Loïc Correnson)
  • Date: Tue, 6 Oct 2020 09:01:40 +0200
  • In-reply-to: <>
  • References: <>


The only part of Coq proofs saved by WP is the one living inside the last « Proof. … Qed. » part of the script.
So, if you added some imports and lemmas outside this scope, it was not saved in and the proof could not be replayed.

As Jens suggested, you shall also upgrade your Frama-C installation.
However, in Frama-C 20 & 21, the Coq output has been deprecated but is still usable (use -wp-prover native:coq).
For the up-coming Frama-C 22, Coq prover would be accessible via why3 for better support and enhanced script maintenance.


> Le 5 oct. 2020 à 16:41, Mohit Tekriwal <tmohit at> a écrit :
> Hello,
> I am trying to load coq scripts in Frama-C, but I have been facing issues. I am using the WP plugin on the Frama-C potassium version with Coq 8.9.1.
> Specifically, the problem arises when I try to prove the goal generated in the Coq template generated from Frama-C. I define lemmas outside the goal and import some standard Coq libraries to complete the proof. Even though I am able to prove the goal in Coq, closing the coq interface does not turn the yellow bubble to green in the WP goals. 
> Does someone have any idea as to where I am going wrong? I would appreciate the suggestions.
> Thanking you,
> Mohit Tekriwal
> -- 
> Mohit Tekriwal,
> PhD Candidate,
> Department of Aerospace Engineering,
> University of Michigan.
> _______________________________________________
> Frama-c-discuss mailing list
> Frama-c-discuss at