coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Jean-Christophe Léchenet <jean-christophe.lechenet AT inria.fr>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Qed opacity and Coq standard library
- Date: Wed, 21 Apr 2021 10:25:59 +0200
- Ironport-hdrordr: A9a23:daXavqk9lWk6eQq1DkUh99GgribpDfIk3DAbvn1ZSRFFG/GwusiykJ0guSPcpy0WXBgb9OyoHKWbW3vT+dpU7OAqU4uKZwXttGu2IIwK1+KLqAHIITH09eJWyM5bHJRWNduYNzJHsfo=
Hi Jerome,
Two blog posts that are relevant to this topic :
- http://gallium.inria.fr/blog/coq-eval/
-
https://gmalecha.github.io/reflections/2017/qed-considered-harmful
Not sure if that will help in your case, though.
Best,
Jean-Christophe
Hi,
At some point in my project, I use Defined rather than Qed to have transparent proofs and use the Compute mechanisms to evaluate some statements. This works nicely for my own theorems, but I am stuck when this involves theorems provided by the Coq standard library, NoDup_dec in my case, but ultimately this might extend to more situations.
One quick and dirty work-around is to copy/paste the code, change Qed into Defined and voila! But this is not satisfactory.
I could find some blog posts like this one https://plv.csail.mit.edu/blog/computing-with-opaque-proofs.html by Clément Pit-Claudel on this topic, but again it seems this imposes some rework.
I understand Qed and Defined are different for a reason, I am just curious whether there is a systematic way to change Qed into Defined on a case by case basis, or if we are forced to this type of modifications.
Is there some suggested readings on this topic?
Thanks
- [Coq-Club] Qed opacity and Coq standard library, Jerome Hugues, 04/20/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Jean-Christophe Léchenet, 04/21/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Jerome Hugues, 04/21/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Fabian Kunze, 04/23/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Jerome Hugues, 04/21/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Pierre-Marie Pédrot, 04/21/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Xavier Leroy, 04/21/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Jerome Hugues, 04/23/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Pierre Courtieu, 04/23/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Jerome Hugues, 04/23/2021
- Re: [Coq-Club] Qed opacity and Coq standard library, Jean-Christophe Léchenet, 04/21/2021
Archive powered by MHonArc 2.6.19+.