Skip to Content.
Sympa Menu

coq-club - Re: [Coq-Club] Suggestions for Proof General?

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

Re: [Coq-Club] Suggestions for Proof General?


Chronological Thread 
  • From: Jonathan Leivent <jonikelee AT gmail.com>
  • To: coq-club AT inria.fr
  • Subject: Re: [Coq-Club] Suggestions for Proof General?
  • Date: Fri, 17 Jun 2016 10:32:21 -0400
  • Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=jonikelee AT gmail.com; spf=Pass smtp.mailfrom=jonikelee AT gmail.com; spf=None smtp.helo=postmaster AT mail-qk0-f182.google.com
  • Ironport-phdr: 9a23:dYSgTxfQQZcOdaEvDqvQiMyYlGMj4u6mDksu8pMizoh2WeGdxc65bR7h7PlgxGXEQZ/co6odzbGG4uaxASdfv96oizMrTt9lb1c9k8IYnggtUoauKHbQC7rUVRE8B9lIT1R//nu2YgB/Ecf6YEDO8DXptWZBUiv2OQc9HOnpAIma153xjLDjvcyLKFoWzBOGIppMbzyO5T3LsccXhYYwYo0Q8TDu5kVyRuJN2GlzLkiSlRuvru25/Zpk7jgC86l5r50IAu3GePEzSqUdBzA7OUg04tfqvF/NV1ih/HwZB0cRlBNUAwHDpDX3X4n8tDey4uh63iiZMMn7QJg7XD2j6+FgTxq+23RPDCIw7GyC0p84t6lcuh/0/xE=



On 06/17/2016 05:39 AM, Enrico Tassi wrote:
...
I think there are two "kind" of definitions in Coq.
Definitions like "I define plus on nat" and definitions like in HoTT,
ie "proofs I will later reason about". For the first kind of definition,
I think your request makes little sense, since one proves stuff on plus
immediately after it is defined. For the latter use case, I
think the way to go is provide a Command to make these proofs
transparent later on. I mean, you use Qed and when you really need to
open the proof you make it explicit in the document. This makes things
quite simpler, since synchronization points become statically
detectable.

Would that work for your? Is your use case different?

I already use Qed for almost everything. However, Pierre Letouzey once raised the objection to my usage of Extraction on Qed definitions. If it happens that only transparent definitions are allowed for Extraction, then indeed making opaque proofs transparent later would work. Although I view permanent opaqueness as a nice way to enforce modularity.

Briefly, my usage of Coq is on the high side of dependently typed-ness, such that type signatures eliminate the need to unfold all but a few trivial functions. However, I do extraction on most functions. But, I don't do extraction until the end of a script (except while debugging).


And don't have Extraction force
unextracted definitions.
I don't understand that. Could you elaborate?

Bug #4449. Which also contains Pierre Letouzey's objection.

-- Jonathan




Archive powered by MHonArc 2.6.18.

Top of Page